@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
8 lines • 700 B
TypeScript
//#region src/providers/i18n-provider/i18n-cache.d.ts
interface FormatOptions<Y> {
options: Y extends Intl.NumberFormat ? Intl.NumberFormatOptions : Y extends Intl.DateTimeFormat ? Intl.DateTimeFormatOptions : Y extends Intl.RelativeTimeFormat ? Intl.RelativeTimeFormatOptions : Y extends Intl.ListFormat ? Intl.ListFormatOptions : Y extends Intl.PluralRules ? Intl.PluralRulesOptions : Y extends Intl.Collator ? Intl.CollatorOptions : never;
}
declare const i18nCache: <Y extends abstract new (...args: any) => any>(Instance: Y) => (locale: string, options?: FormatOptions<InstanceType<Y>>["options"]) => InstanceType<Y>;
//#endregion
export { i18nCache };
//# sourceMappingURL=i18n-cache.d.ts.map