Properties
errors
errors: null | Error[]
Methods
memoizeIntlObject
- memoizeIntlObject(ctor: {
prototype: NumberFormat;
supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];
(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
}, opts: NumberFormatOptions): NumberFormat
-
Parameters
-
ctor: {
prototype: NumberFormat;
supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];
(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
}
-
- (locales?: string | string[], options?: NumberFormatOptions): NumberFormat
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: NumberFormatOptions
Returns NumberFormat
- new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: NumberFormatOptions
Returns NumberFormat
-
Readonly
prototype: NumberFormat
-
supportedLocalesOf:function
- supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[]
-
Parameters
-
locales: string | string[]
-
Optional
options: NumberFormatOptions
Returns string[]
-
opts: NumberFormatOptions
Returns NumberFormat
- memoizeIntlObject(ctor: {
prototype: DateTimeFormat;
supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];
(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
}, opts: DateTimeFormatOptions): DateTimeFormat
-
Parameters
-
ctor: {
prototype: DateTimeFormat;
supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];
(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
}
-
- (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: DateTimeFormatOptions
Returns DateTimeFormat
- new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: DateTimeFormatOptions
Returns DateTimeFormat
-
Readonly
prototype: DateTimeFormat
-
supportedLocalesOf:function
- supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[]
-
Parameters
-
locales: string | string[]
-
Optional
options: DateTimeFormatOptions
Returns string[]
-
opts: DateTimeFormatOptions
Returns DateTimeFormat
- memoizeIntlObject(ctor: {
supportedLocalesOf(locales: string | string[], options?: {
localeMatcher?: "best fit" | "lookup";
}): string[];
(locales?: string | string[], options?: PluralRulesOptions): PluralRules;
new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
}, opts: PluralRulesOptions): PluralRules
-
Parameters
-
ctor: {
supportedLocalesOf(locales: string | string[], options?: {
localeMatcher?: "best fit" | "lookup";
}): string[];
(locales?: string | string[], options?: PluralRulesOptions): PluralRules;
new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
}
-
- (locales?: string | string[], options?: PluralRulesOptions): PluralRules
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: PluralRulesOptions
Returns PluralRules
- new (locales?: string | string[], options?: PluralRulesOptions): PluralRules
-
Parameters
-
Optional
locales: string | string[]
-
Optional
options: PluralRulesOptions
Returns PluralRules
-
supportedLocalesOf:function
- supportedLocalesOf(locales: string | string[], options?: {
localeMatcher?: "best fit" | "lookup";
}): string[]
-
Parameters
-
locales: string | string[]
-
Optional
options: {
localeMatcher?: "best fit" | "lookup";
}
-
Optional
localeMatcher?: "best fit" | "lookup"
Returns string[]
-
opts: PluralRulesOptions
Returns PluralRules
reportError
- reportError(error: unknown): void
-
Returns void
A dict of developer-provided variables.