mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
TL;DR: MDN doc is not accurate: https://github.com/tc39/ecma402/issues/365#issuecomment-530617744 According to spec, `PluralRulesOptions` do take in these extra params (point 2 in https://tc39.es/ecma402/#sec-intl-pluralrules-constructor) Add LDMLPluralRule according to http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories ResolvedPluralRulesOptions also have these params as optional because according to spec https://tc39.es/ecma402/#sec-initializepluralrules https://tc39.es/ecma402/#sec-setnfdigitoptions
Read this!
The files within this directory are used to generate lib.d.ts and lib.es6.d.ts.
Generated files
Any files ending in .generated.d.ts aren't meant to be edited by hand.
If you need to make changes to such files, make a change to the input files for our library generator.