UNPKG

@formatjs/ecma402-abstract

Version:

A collection of implementation for ECMAScript abstract operations

13 lines 831 B
import { NumberFormatInternal, NumberFormatOptions, NumberFormatLocaleInternalData } from '../types/number'; /** * https://tc39.es/ecma402/#sec-initializenumberformat */ export declare function InitializeNumberFormat(nf: Intl.NumberFormat, locales: string | ReadonlyArray<string> | undefined, opts: NumberFormatOptions | undefined, { getInternalSlots, localeData, availableLocales, numberingSystemNames, getDefaultLocale, currencyDigitsData, }: { getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal; localeData: Record<string, NumberFormatLocaleInternalData | undefined>; availableLocales: Set<string>; numberingSystemNames: ReadonlyArray<string>; getDefaultLocale(): string; currencyDigitsData: Record<string, number>; }): Intl.NumberFormat; //# sourceMappingURL=InitializeNumberFormat.d.ts.map