microsoft / TypeScript-DOM-lib-generator

Tool for generating dom related TypeScript and JavaScript library files
Apache License 2.0
622 stars 423 forks source link

`#duplex` is missing from `RequestInit` #1483

Open erunion opened 1 year ago

erunion commented 1 year ago

The Fetch WG introduced a new duplex property to RequestInit^1 back in July that undici is now abiding by when making payload requests with a ReadableStream^2. They have added this new duplex property into their own RequestInit types, but as this is now a part of the core fetch specification it should be included here.

https://fetch.spec.whatwg.org/#request-class

haukepribnow commented 1 year ago

Would this really be as easy to close as only removing this line?