diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-05-01 00:40:10 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 10:40:10 -0400 |
commit | 81c75332fbf2635f5275cc85053dc244f211471d (patch) | |
tree | b0142c4dddf6f2ef2d6c48c0470e5bdfe822b499 /cli/js/web/fetch.ts | |
parent | 84d687e958ab93afb161def4a8ab47f8994307c9 (diff) |
feat: Add WritableStreams (and enable ReadableStreams piping) (#4980)
Diffstat (limited to 'cli/js/web/fetch.ts')
-rw-r--r-- | cli/js/web/fetch.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/web/fetch.ts b/cli/js/web/fetch.ts index cbedcabfd..38ca03aca 100644 --- a/cli/js/web/fetch.ts +++ b/cli/js/web/fetch.ts @@ -258,7 +258,7 @@ class Body pipeThrough<T>( _: { - writable: domTypes.WritableStream<Uint8Array>; + writable: WritableStream<Uint8Array>; readable: ReadableStream<T>; }, _options?: PipeOptions @@ -267,7 +267,7 @@ class Body } pipeTo( - _dest: domTypes.WritableStream<Uint8Array>, + _dest: WritableStream<Uint8Array>, _options?: PipeOptions ): Promise<void> { return notImplemented(); |