UNPKG

react-intlayer

Version:

Easily internationalize i18n your React applications with type-safe multilingual content management.

9 lines (8 loc) 488 B
import { DeepTransformContent } from "./plugins.js"; import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation"; import { Dictionary } from "@intlayer/types/dictionary"; //#region src/getDictionary.d.ts declare const getDictionary: <const T extends Dictionary, const L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L) => DeepTransformContent<T["content"], L>; //#endregion export { getDictionary }; //# sourceMappingURL=getDictionary.d.ts.map