diff options
author | Parsa Ghadimi <me@qti3e.com> | 2018-09-14 22:43:38 +0430 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-14 12:27:32 -0700 |
commit | 66c09de967b6bf91cb9c6b2d915ab42efa59c349 (patch) | |
tree | add00cc40a657a2ae826bbfe7fdc4d36d8cea29a /js | |
parent | 7b7052e1abb0735ca443ffd133b014a19b7dab3d (diff) |
Rename fetch_types.d.ts to dom_types.d.ts
Diffstat (limited to 'js')
-rw-r--r-- | js/assets.ts | 4 | ||||
-rw-r--r-- | js/blob.ts | 2 | ||||
-rw-r--r-- | js/dom_types.d.ts (renamed from js/fetch_types.d.ts) | 0 | ||||
-rw-r--r-- | js/fetch.ts | 2 |
4 files changed, 4 insertions, 4 deletions
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 { |