Update declaration of ts.Iterator to be compatible with ES2015 IteratorResult type #31214
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Milestone
TypeScript Version: 3.5.0-dev.20190502
Search Terms:
Code
I'm trying to use the API changes of #31101, but I run into assignability issues.
Expected behavior:
No type error.
Actual behavior:
The text was updated successfully, but these errors were encountered: