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
14 lines
637 B
Plaintext
14 lines
637 B
Plaintext
import { type IntlConfig, type Locale, _createIntlFormatters } from 'use-intl/core';
|
|
declare function getConfigImpl(localeOverride?: Locale): Promise<{
|
|
locale: IntlConfig['locale'];
|
|
formats?: NonNullable<IntlConfig['formats']>;
|
|
timeZone: NonNullable<IntlConfig['timeZone']>;
|
|
onError: NonNullable<IntlConfig['onError']>;
|
|
getMessageFallback: NonNullable<IntlConfig['getMessageFallback']>;
|
|
messages?: NonNullable<IntlConfig['messages']>;
|
|
now?: NonNullable<IntlConfig['now']>;
|
|
_formatters: ReturnType<typeof _createIntlFormatters>;
|
|
}>;
|
|
declare const getConfig: typeof getConfigImpl;
|
|
export default getConfig;
|