summaryrefslogtreecommitdiff
path: root/js/io.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-10-26 12:14:06 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-11-13 21:44:38 -0800
commitb1579460ced238820c9d3e3d8343d17a8c4b4e25 (patch)
tree9ea55207b0763279cb488aaa61549611b955b35c /js/io.ts
parentf2223fb9ad0c4821b01fdd57d07add0e44fa838f (diff)
Support streaming response bodies from fetch()
Also Buffer.readFrom in fetch() to buffer response.
Diffstat (limited to 'js/io.ts')
-rw-r--r--js/io.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io.ts b/js/io.ts
index 10908b724..735be19a1 100644
--- a/js/io.ts
+++ b/js/io.ts
@@ -77,7 +77,7 @@ export interface Seeker {
}
// https://golang.org/pkg/io/#ReadCloser
-export interface ReaderCloser extends Reader, Closer {}
+export interface ReadCloser extends Reader, Closer {}
// https://golang.org/pkg/io/#WriteCloser
export interface WriteCloser extends Writer, Closer {}