(
locales?: string | string[],
options?: Pick<Intl.PluralRulesOptions, 'localeMatcher'>
)
| 251 | return '[object Intl.PluralRules]' |
| 252 | } |
| 253 | public static supportedLocalesOf( |
| 254 | locales?: string | string[], |
| 255 | options?: Pick<Intl.PluralRulesOptions, 'localeMatcher'> |
| 256 | ): string[] { |
| 257 | return SupportedLocales( |
| 258 | PluralRules.availableLocales, |
| 259 | CanonicalizeLocaleList(locales), |
| 260 | options |
| 261 | ) |
| 262 | } |
| 263 | public static __addLocaleData(...data: PluralRulesLocaleData[]): void { |
| 264 | for (const {data: d, locale} of data) { |
| 265 | PluralRules.localeData[locale] = d |
nothing calls this directly
no test coverage detected