TypeScript/tests/cases/conformance/es6
Ron Buckton e8bf9584aa
Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
..
arrowFunction
binaryAndOctalIntegerLiteral
classDeclaration
classExpressions
computedProperties Add some negative test cases and accept baselines 2019-06-26 14:01:50 -07:00
decorators/class
defaultParameters
destructuring Add more tests 2019-06-30 08:18:01 -10:00
for-ofStatements Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
functionDeclarations
functionExpressions
functionPropertyAssignments
memberFunctionDeclarations
moduleExportsAmd
moduleExportsCommonjs
moduleExportsSystem
moduleExportsUmd
modules add related error span for default exports (#25396) 2019-03-12 13:15:14 -07:00
newTarget
propertyAccess
restParameters Add tests 2019-01-18 09:34:38 -08:00
shorthandPropertyAssignment Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
spread Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
Symbols Fix symbol-named properties incorrectly requiring alignment with string indexer type 2018-01-16 15:45:10 -08:00
templates Added test in case 'super' is ever possibly parsed as a tagged template string. 2018-04-19 15:16:25 -07:00
unicodeExtendedEscapes
variableDeclarations
yieldExpressions Fix control flow loop in yield expression (#25228) 2018-06-26 12:50:29 -07:00