Commit graph

151 commits

Author SHA1 Message Date
Orta Therox 07fd7bce64
Intl 2021 Updates (#45647)
* Import of Intl.Locale from #39664

* Handle updating es2020.intl and add es2021 for new DateTimeFormatOptions options - re: #39664

* Extends DateTimeFormatOptions for new Intl APIs - re: #45420

* Handle migrating Intl.NumberFormat.formatToParts to es2018 (keeping esnext.intl around)

* Adds Intl.DisplayNames to es2020 - re: #44022

* Remove attributes added in es2021 from es2020 - re: #42944

* Add a reference to es2021 in the command line parser

* Adds some docs about the lib files

* Baselines

* Allow undefined in Intl inputs to allow for ergonomic usage of exactOptionalPropertyTypes - see #45652

* Adds some tests covering the APIs

* Apply suggestions from code review

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Handle PR feedback

* More review improvements

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2021-09-08 10:43:01 +01:00
Daniel Rosenwasser 9d443b76aa
Update LKG to enable improved narrowing in 4.4. (#44842)
* Update LKG.

* Remove unnecessary assertions.
2021-07-01 12:21:27 -07:00
Daniel Rosenwasser cec2fda9a5
Update LKG. (#44423) 2021-06-03 16:35:05 -07:00
Zuckjet 147384c932
Fix typos in comments (#42396) 2021-01-19 09:13:26 -08:00
Daniel Rosenwasser 16031bc429 Update LKG. 2021-01-10 15:58:40 -08:00
Andrew Casey 932b314f81 Delete lib/lib.esnext files no longer found in built/local 2020-06-29 15:46:41 -07:00
Andrew Casey 126a95b37c Delete lib/diagnosticMessages.generated.json
The values are baked in - only the localized json files are needed in
the LKG.
2020-06-29 15:45:33 -07:00
Ron Buckton 9ff24b6fc8
Update LKG (#39173) 2020-06-19 22:18:55 -07:00
Nathan Shively-Sanders 35c1ba67ba
Update LKG 2020 05 06 (#38371)
* Update LKG

* remove now-extraneous casts
2020-05-06 14:42:05 -07:00
Ron Buckton 065a996345
Rerun LKG to remove 'awaited' type (#37616) 2020-03-31 11:54:02 -07:00
Ron Buckton e3ec7b18b8
Add the 'awaited' type operator (#35998)
* Add the 'awaited' type operator

* Add script to manually add reviewers to a PR when GH 'Suggested Reviewers' breaks

* Fix lint error in review script

* Only defer generic awaited type for possible thenable

* Add variance-like behavior for awaited

* Switch awaited type params to 'unreliable' variance

* fix typo in inferTypes

* LKG without syntax in lib

* LKG with new syntax in lib

* Add 'strictAwaitedTypes' flag

* Treat strictAwaitedTypes as strict-mode flag

* Rename TAll, remove duplicate definition of 'race'

* Apply suggestions from code review

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Fix inference priority

* Update comment to isGenericAwaitableType

* Add overloads for then/catch to Promise

* Add inference heuristic for T | PromiseLike<T> (for any PromiseLike)

* Remove strictAwaitedTypes flag

Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2020-03-20 16:09:01 -07:00
Wesley Wigham ff0422091f
Update LKG (#37175)
* Update LKG

* Remove unneeded check (handled by top of function)
2020-03-02 15:15:41 -08:00
Wesley Wigham 6a1e474cac
Update LKG (#37116) 2020-02-28 14:02:40 -08:00
Wesley Wigham 0326534a2a
Update LKG (#37087) 2020-02-27 14:24:21 -08:00
Ron Buckton afddaf090a
Fix declaration for Array.prototype[Symbol.unscopables] (#36540) 2020-01-31 10:42:02 -08:00
Daniel Rosenwasser 8976ac96aa Update LKG. 2020-01-21 12:35:42 -08:00
Wesley Wigham 91ffa1c752
Update LKG (#36164) 2020-01-13 13:11:29 -08:00
Andrew Branch 48fa3a5f18
Update LKG (#35128) 2019-11-15 10:31:30 -08:00
Wesley Wigham 58854a6182
Revert old lkg and re lkg (#33769)
* Revert "Update LKG (#33710)"

This reverts commit 29becf0501.

* Re-accept LKG with API with breaking typeArguments change removed
2019-10-02 16:01:59 -07:00
Ron Buckton 29becf0501
Update LKG (#33710) 2019-10-01 13:17:17 -07:00
Ron Buckton 4df2fc663c
Do not include built/local/enu when producing LKG (#32723) 2019-08-05 16:19:38 -07:00
Wesley Wigham b963e1a2a7
Update LKG (#32578)
* Update LKG

* Add @types/node version bump

* Small paatches/casts to be compatible with latest node

* Accept API baseline update

* Make internal NodeBuffer compatable with latest Buffer

* Why do we even have an internal buffer type

* Sync up internal buffer type better

* Fix lint

* Readd mroe missing Buffer methods
2019-07-29 10:33:43 -07:00
David Sherret 8fc6640f55 Rename _objectLiteralBrandBrand to _objectLiteralBrand. (#30797) 2019-04-23 14:33:54 -07:00
Adam Postma e951455215 Update misspelling 'identifer' to 'identifier' (#30894)
* fix typo - identifer to identifier

* fix typo - identifer to identifier
2019-04-12 13:29:00 -07:00
Sheetal Nandi f82cb2370f Udpate LKG 2019-03-08 16:35:58 -08:00
Sheetal Nandi b2cda168fd Update LKG 2019-03-08 15:20:37 -08:00
Sheetal Nandi 0469cc6c96 Update LKG 2019-03-05 13:58:39 -08:00
Sheetal Nandi 69f65f5445 Update LKG 2019-03-05 12:58:12 -08:00
Sheetal Nandi ba1dc9e303 Update LKG with the branch build 2019-03-01 13:30:08 -08:00
Daniel Rosenwasser 00bf32ca39 Update LKG. 2019-02-28 14:35:03 -08:00
Wesley Wigham b67f2d6bdf
Remove jake (hopefully for real this time) (#29085)
* Remove jake (hopefully for real this time)

* Fix gulpfile non-lkg build, add sanity-check build to posttest on CI, accept older baseline style to go with lkgd build

* More docs/scripts jake -> gulp
2019-02-20 15:32:15 -08:00
Ryan Cavanaugh 0a041ee536
Merge pull request #28270 from AnyhowStep/json-parse-reviver-stringify-replacer-better-declaration
JSON.parse(), JSON.stringify() more specific declarations for #6955
2019-02-02 12:10:56 -08:00
Daniel Rosenwasser 8ddb2b61d2 Update LKG. 2018-11-20 12:28:45 -05:00
AnyhowStep dd3ed02868 Removed stray whitespace 2018-11-13 12:24:03 -05:00
Daniel Rosenwasser 40bd7c89ab Update LKG. 2018-11-12 16:27:38 -08:00
AnyhowStep 01e71820fc Fixes Microsoft/TypeScript#6955 2018-10-31 17:00:24 -04:00
Andy eb2297df02
Fix compile errors in tsbuildWatchMode.ts (#27870)
* Fix compile errors in tsbuildWatchMode.ts

* Remove TODO comments

* new LKG

* Add tslint disables
2018-10-16 12:28:14 -07:00
Brandon Banks 804a2fd66a fix typo in performance mark name 2018-10-02 22:52:17 -04:00
Andy ee25cdecbc
Update LKG and remove newly unnecessary non-null assertions (#26515) 2018-08-17 09:13:43 -07:00
Wesley Wigham fd32cb97a4
Update LKG (#25470) 2018-07-05 16:05:09 -07:00
Ron Buckton 2fc014a2d8 Accept new LKG 2018-06-20 21:40:48 -07:00
Ron Buckton 891b15f60a Update gulpfile to support project references 2018-06-18 22:45:13 -07:00
Ryan Cavanaugh de82c54e6b Remove extra dependency + build smaller tsc.js into lkg 2018-06-13 14:50:01 -07:00
Ryan Cavanaugh 88cf310dee LKG update 2018-06-13 14:01:11 -07:00
Ryan Cavanaugh 7553d900fc Baseline LKG update 2018-06-11 16:04:04 -07:00
Ryan Cavanaugh 3432468ea9 Merge and baseline accept 2018-06-11 15:04:19 -07:00
Ryan Cavanaugh 7a7d04e126 Tests passing and lib loading 2018-06-10 20:05:12 -07:00
Mohamed Hegazy 2f73986b44 Update LKG 2018-06-04 14:02:51 -07:00
Micah Zoltu a846e7f4c0
Fixes Number.is* signatures to accept any input.
These functions are incredibly useful for testing to see if a value is a number that meets certain constraints as they return false for _any_ input that doesn't satisfy the constraints explicitly.  Tested in NodeJS and Firefox and both of them work properly when you give a range of values.  MDN also indicates that they will return false for any non-number input.
2018-05-27 13:13:35 +08:00
Mohamed Hegazy 85dcfec33c Update LKG 2018-05-21 11:01:35 -07:00