1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

Rename fetch_types.d.ts to dom_types.d.ts

This commit is contained in:
Parsa Ghadimi 2018-09-14 22:43:38 +04:30 committed by Ryan Dahl
parent 7b7052e1ab
commit 66c09de967
5 changed files with 5 additions and 5 deletions

View file

@ -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",

View file

@ -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

View file

@ -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");

View file

@ -18,7 +18,7 @@ import {
RequestInit,
HeadersInit,
FormData
} from "./fetch_types";
} from "./dom_types";
import { TextDecoder } from "./text_encoding";
interface Header {