Skip to content

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 ParameterDescription
K extends stringA string type representing the keys of the dictionary.
VThe type of the values associated with the keys in the dictionary.