Commit graph

14 commits

Author SHA1 Message Date
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 0326534a2a
Update LKG (#37087) 2020-02-27 14:24:21 -08:00
Daniel Rosenwasser 8976ac96aa Update LKG. 2020-01-21 12:35:42 -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
Daniel Rosenwasser 00bf32ca39 Update LKG. 2019-02-28 14:35:03 -08:00
Daniel Rosenwasser 40bd7c89ab Update LKG. 2018-11-12 16:27:38 -08:00
Wesley Wigham fd32cb97a4
Update LKG (#25470) 2018-07-05 16:05:09 -07:00
Ron Buckton 891b15f60a Update gulpfile to support project references 2018-06-18 22:45:13 -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
Mohamed Hegazy 85dcfec33c Update LKG 2018-05-21 11:01:35 -07:00
Andy deef6cd88c
Update LKG (#23844) 2018-05-03 08:02:41 -07:00