UNPKG

react-intlayer

Version:

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

9 lines (8 loc) 548 B
import { DeepTransformContent as DeepTransformContent$1 } from "./plugins.js"; import { Plugins } from "@intlayer/core"; import { DeclaredLocales, DictionaryKeys, DictionaryRegistryContent, LocalesValues } from "@intlayer/types"; //#region src/getIntlayer.d.ts declare const getIntlayer: <T extends DictionaryKeys, L extends LocalesValues = DeclaredLocales>(key: T, locale?: L, additionalPlugins?: Plugins[]) => DeepTransformContent$1<DictionaryRegistryContent<T>, L>; //#endregion export { getIntlayer }; //# sourceMappingURL=getIntlayer.d.ts.map