lr-i18n
Version:
Allows to connect your `Laravel` Framework localization files with `React`.
12 lines (10 loc) • 325 B
text/typescript
import LocaleFileInterface from './locale-file';
/**
* The Interface that is responsible for the default options.
*/
export default interface DefaultOptionsInterface {
fallbackLocale: string;
locale: string;
prevLocale: string;
files: Record<string, unknown> | Record<string, () => Promise<unknown>>;
}