react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
8 lines (7 loc) • 479 B
TypeScript
import { DeepTransformContent } from "./plugins.js";
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryContent, LocalesValues } from "@intlayer/types/module_augmentation";
//#region src/getIntlayer.d.ts
declare const getIntlayer: <const T extends DictionaryKeys, const L extends LocalesValues = DeclaredLocales>(key: T, locale?: L) => DeepTransformContent<DictionaryRegistryContent<T>, L>;
//#endregion
export { getIntlayer };
//# sourceMappingURL=getIntlayer.d.ts.map