You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Dear Ladies and Gentlemen,
I would like to bring to your attention, that the following interface is not conform to the specification in the "lib.es6.d.ts".
Currently defined as:
interface IteratorResult<T> {
done: boolean;
value: T;
}
The specification tells that the last IteratorResult returned form an iterator has the following values assigned:
done = true;
value = undefined,
So the correct interface definition would be:
interface IteratorResult<T> {
done: boolean;
value: T | undefined;
}
See the description ad MDN:
This issue might also be related to:
TypeScript 2.0 change in IterableResult makes implementing iterators harder
Kind regards,
Lord Saumagen.
The text was updated successfully, but these errors were encountered: