mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(i18n): convert to opaque keys (#1848)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { flatten } from '@videojs/utils/object';
|
||||
|
||||
export function flattenEntries(value: Record<string, unknown>): [string, string][] {
|
||||
return Object.entries(flatten(value)) as [string, string][];
|
||||
}
|
||||
Reference in New Issue
Block a user