Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
607 B
Plaintext
16 lines
607 B
Plaintext
import type { ReactNode } from 'react';
|
|
import type Formats from '../Formats.js';
|
|
import type TimeZone from '../TimeZone.js';
|
|
import type { RichTranslationValues } from '../TranslationValues.js';
|
|
import type { Formatters, IntlCache } from '../formatters.js';
|
|
type FormatMessageOptions = {
|
|
cache: IntlCache;
|
|
formatters: Formatters;
|
|
globalFormats?: Formats;
|
|
formats?: Formats;
|
|
locale: string;
|
|
timeZone?: TimeZone;
|
|
};
|
|
export type FormatMessage<Message> = (key: string, message: Message, values: RichTranslationValues | undefined, options: FormatMessageOptions) => ReactNode;
|
|
export {};
|