API reference / @localizer/translate / LoadableDictionary
Type Alias: LoadableDictionary<K, V> experimental
LoadableDictionary<
K
,V
> = { [locale in LocaleCode]?: SplitStructurePartial<K, V> | Promise<SplitStructurePartial<K, V>> }
Defined in: types/dictionary.ts:110
Represents a dictionary structure that can be loaded asynchronously or synchronously.
Type Parameters
Type Parameter | Description |
---|---|
K extends string | A string type representing the keys of the dictionary. |
V | The type of the values associated with the keys in the dictionary. |