@scaleway/use-i18n
Version:
A small hook to handle i18n
10 lines • 361 B
TypeScript
import IntlTranslationFormat from "intl-messageformat";
import { NumberFormatOptions } from "@formatjs/ecma402-abstract";
//#region src/formatters.d.ts
type IntlListFormatOptions = {
localeMatcher?: 'best fit' | 'lookup';
type?: 'conjunction' | 'disjunction' | 'unit';
style?: 'long' | 'short' | 'narrow';
};
//#endregion
export { IntlListFormatOptions };