Commit graph

23 commits

Author SHA1 Message Date
Daniel Rosenwasser cec2fda9a5
Update LKG. (#44423) 2021-06-03 16:35:05 -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 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 0326534a2a
Update LKG (#37087) 2020-02-27 14:24:21 -08:00
Ron Buckton 29becf0501
Update LKG (#33710) 2019-10-01 13:17:17 -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
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
Andy deef6cd88c
Update LKG (#23844) 2018-05-03 08:02:41 -07:00
Andy 530d7e9358
Update LKG (#22085) 2018-02-21 09:12:48 -08:00
benbraou 49a48ffd4d fix(es2018): add a target and an initial lib (#20385)
* run Jake LKG before es2018 addition

Fixes #20342

* fix(es2018): add a target and an initial lib

Fixes #20342
2017-12-02 11:16:59 -08:00
Andy a6555921f4 Update LKG (#18774) 2017-09-26 13:51:27 -07:00
Mohamed Hegazy 451561ec8d Update LKG 2017-04-26 14:38:47 -07:00
Ryan Cavanaugh 8b9fa4ce74 LKG update 2017-02-15 14:44:31 -08:00
Bill Ticehurst b624d47817 Update LKG 2016-12-15 13:46:39 -08:00
Bill Ticehurst 371e4f7bc2 Make line-endings LF only in the /lib dir 2016-12-14 22:03:00 -08:00
Ron Buckton 06a13b9d10 Fix string constituent check in checkElementTypeOfArrayOrString 2016-11-14 15:22:04 -08:00
Andy Hanson 6814c1d883 Forbid unused locals/parameters anywhere 2016-10-19 08:27:49 -07:00
Mohamed Hegazy 97d40ab432 Update LKG 2016-10-13 17:08:58 -07:00
Daniel Rosenwasser 2e7c83abc8 Updated LKG. 2016-09-27 11:44:25 -07:00
Juan Luis Boya García 589bf91dae Rebuilt lib 2016-05-20 13:05:56 +02:00
Mohamed Hegazy b0584b58fa Update LKG 2016-04-11 11:03:15 -07:00