summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParsa Ghadimi <me@qti3e.com>2018-09-14 22:43:38 +0430
committerRyan Dahl <ry@tinyclouds.org>2018-09-14 12:27:32 -0700
commit66c09de967b6bf91cb9c6b2d915ab42efa59c349 (patch)
treeadd00cc40a657a2ae826bbfe7fdc4d36d8cea29a
parent7b7052e1abb0735ca443ffd133b014a19b7dab3d (diff)
Rename fetch_types.d.ts to dom_types.d.ts
-rw-r--r--BUILD.gn2
-rw-r--r--js/assets.ts4
-rw-r--r--js/blob.ts2
-rw-r--r--js/dom_types.d.ts (renamed from js/fetch_types.d.ts)0
-rw-r--r--js/fetch.ts2
5 files changed, 5 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index d2f4f8386..817cc9f6a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -59,9 +59,9 @@ ts_sources = [
"js/console.ts",
"js/deno.ts",
"js/dispatch.ts",
+ "js/dom_types.d.ts",
"js/errors.ts",
"js/fetch.ts",
- "js/fetch_types.d.ts",
"js/global-eval.ts",
"js/globals.ts",
"js/libdeno.ts",
diff --git a/js/assets.ts b/js/assets.ts
index c97dce649..4949b38b1 100644
--- a/js/assets.ts
+++ b/js/assets.ts
@@ -40,7 +40,7 @@ import libEsnextIntlDts from "/third_party/node_modules/typescript/lib/lib.esnex
import libEsnextSymbolDts from "/third_party/node_modules/typescript/lib/lib.esnext.symbol.d.ts!string";
// Static definitions
-import fetchTypesDts from "/js/fetch_types.d.ts!string";
+import domTypesDts from "/js/dom_types.d.ts!string";
import flatbuffersDts from "/third_party/node_modules/@types/flatbuffers/index.d.ts!string";
import textEncodingDts from "/third_party/node_modules/@types/text-encoding/index.d.ts!string";
import typescriptDts from "/third_party/node_modules/typescript/lib/typescript.d.ts!string";
@@ -82,7 +82,7 @@ export const assetSourceCode: { [key: string]: string } = {
"lib.esnext.symbol.d.ts": libEsnextSymbolDts,
// Static definitions
- "fetch-types.d.ts": fetchTypesDts,
+ "dom_types.d.ts": domTypesDts,
"flatbuffers.d.ts": flatbuffersDts,
"text-encoding.d.ts": textEncodingDts,
"typescript.d.ts": typescriptDts
diff --git a/js/blob.ts b/js/blob.ts
index 128146ece..874a98fa1 100644
--- a/js/blob.ts
+++ b/js/blob.ts
@@ -1,5 +1,5 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
-import { Blob, BlobPart, BlobPropertyBag } from "./fetch_types";
+import { Blob, BlobPart, BlobPropertyBag } from "./dom_types";
import { containsOnlyASCII } from "./util";
const bytesSymbol = Symbol("bytes");
diff --git a/js/fetch_types.d.ts b/js/dom_types.d.ts
index 5f49a88d1..5f49a88d1 100644
--- a/js/fetch_types.d.ts
+++ b/js/dom_types.d.ts
diff --git a/js/fetch.ts b/js/fetch.ts
index 24905694e..4f225b507 100644
--- a/js/fetch.ts
+++ b/js/fetch.ts
@@ -18,7 +18,7 @@ import {
RequestInit,
HeadersInit,
FormData
-} from "./fetch_types";
+} from "./dom_types";
import { TextDecoder } from "./text_encoding";
interface Header {