Closed
Description
TypeScript Version: 3.0.0-dev.20180626
Search Terms: TransformStream Streams ReadableStream WritableStream
WHATWG streams can be used for more than just ArrayBufferViews. For example, they can be used to build observables that carry events.
lib.dom.d.ts
is not only missing TransformStream
, but is also not implemented with generics. @types/whatwg-streams
provides a correct implementation, but it can’t be used as it conflicts with lib.dom.d.ts
, and I have found no way to fix that on my end,
lib.dom.d.ts
should definitely be updated, but we should also talk about the fact that there doesn’t seem to be a way to overwrite whatever the standard lib provides.