Skip to main content

Core Models

type Message = string | number;
interface Locale {
language: string;
messages: {
[transactionKey: string]: Message | object;
};
}
interface FormatMessageOptions extends Record<string, any> {
defaultMessage?: string;
}