Adding optional type arguments wouldn't affect compatibility. Ron Buckton (@rbuckton) Right?
TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms:
Code
// A *self-contained* demonstration of the problem follows...// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
Expected behavior:
interfaceIterable<T,TReturn=any,TNext=undefined>{[Symbol.iterator](): Iterator<T,TReturn,TNext>;}interfaceAsyncIterable<T,TReturn=any,TNext=undefined>{[Symbol.asyncIterator](): AsyncIterator<T,TReturn,TNext>;}Actual behavior:
interfaceIterable<T>{[Symbol.iterator](): Iterator<T>;}interfaceAsyncIterable<T>{[Symbol.asyncIterator](): AsyncIterator<T>;}Playground Link:
Related Issues:
Adding optional type arguments wouldn't affect compatibility. Ron Buckton (@rbuckton) Right?
TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
Actual behavior:
Playground Link:
Related Issues: