summaryrefslogtreecommitdiff
path: root/js/fetch.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-06-14 04:53:30 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-06-13 19:53:30 -0700
commitfdd2eb538327ee3f50fe2869320411191830c985 (patch)
tree6eee6a8a76281e340d1b4e165af0a8615f84a1c0 /js/fetch.ts
parent42d1024cd98811a4ce9eaaa73c84970d271628a6 (diff)
expose window.Response (#2515)
Diffstat (limited to 'js/fetch.ts')
-rw-r--r--js/fetch.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/fetch.ts b/js/fetch.ts
index 7cbaf7f10..b1cd8f4aa 100644
--- a/js/fetch.ts
+++ b/js/fetch.ts
@@ -239,7 +239,7 @@ class Body implements domTypes.Body, domTypes.ReadableStream, io.ReadCloser {
}
}
-class Response implements domTypes.Response {
+export class Response implements domTypes.Response {
readonly url: string = "";
statusText = "FIXME"; // TODO
readonly type = "basic"; // TODO