We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ReadableStreamReadDoneResult
value: undefined
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read#return_value and https://streams.spec.whatwg.org/#ref-for-default-reader-read%E2%91%A0
If the stream becomes closed, the promise will be fulfilled with an object of the form { value: undefined, done: true }.
{ value: undefined, done: true }
The current types are:
https://github.com/microsoft/TypeScript/blob/cea0b61320ee69ae863cc9d7bf873113eb420e3b/src/lib/dom.generated.d.ts#L1622-L1625
interface ReadableStreamReadDoneResult<T> { done: true; value?: T; }
While I'd expect them to be
interface ReadableStreamReadDoneResult { done: true; value: undefined; }
I believe this is a result of:
TypeScript-DOM-lib-generator/inputfiles/addedTypes.jsonc
Lines 1290 to 1310 in f4e507c
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
As per https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read#return_value and https://streams.spec.whatwg.org/#ref-for-default-reader-read%E2%91%A0
The current types are:
https://github.com/microsoft/TypeScript/blob/cea0b61320ee69ae863cc9d7bf873113eb420e3b/src/lib/dom.generated.d.ts#L1622-L1625
While I'd expect them to be
I believe this is a result of:
TypeScript-DOM-lib-generator/inputfiles/addedTypes.jsonc
Lines 1290 to 1310 in f4e507c
The text was updated successfully, but these errors were encountered: