Jeffrey Morlan 48a610c34f Fix ECMA-402 declarations (issue #10618)
1. Make String.prototype.localeCompare's `locales` parameter optional,
   so `undefined` is allowed.
2. Declare the `locales` parameter as a `string | string[]` union
   instead of using overloads. Having separate overloads for `string`
   and `string[]` unnecessarily prevents passing a `string | string[]`.
   (These overloads predate the introduction of union types.)
2016-09-10 12:25:39 -07:00
..
2016-08-20 20:35:58 -07:00
2016-09-06 11:36:23 -07:00
2016-04-04 22:02:12 -07:00
2016-05-24 00:41:44 +09:00
2016-05-24 00:41:44 +09:00

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 mean 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.