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
{{ message }}
Repository navigation
Type Iterator#next() argument (yield expression) #32998
Activity
pauldraper commentedon Aug 21, 2019
And actually, Iterator has additional problems, like
return?(value?: any): IteratorResult<T>which is just simply wrong.To be more concrete, the types should be
The optional argument is problematic for having non-undefined values inside the generator, but I don't have a better suggestion.
AlCalzone commentedon Aug 21, 2019
I think you should take a look at the TS 3.6 release notes
https://devblogs.microsoft.com/typescript/announcing-typescript-3-6-rc/
RyanCavanaugh commentedon Aug 21, 2019
See #30790 and its linked issues
typescript-bot commentedon Aug 23, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.
pauldraper commentedon Aug 24, 2019
Excellent, thanks AlCalzone for linking to the 3.6 RC notes.
TypeScript Bot (@typescript-bot) I think you might not be working correctly (you didn't actually close).