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:
parent
7b7052e1ab
commit
66c09de967
5 changed files with 5 additions and 5 deletions
2
BUILD.gn
2
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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
0
js/fetch_types.d.ts → js/dom_types.d.ts
vendored
0
js/fetch_types.d.ts → js/dom_types.d.ts
vendored
|
@ -18,7 +18,7 @@ import {
|
|||
RequestInit,
|
||||
HeadersInit,
|
||||
FormData
|
||||
} from "./fetch_types";
|
||||
} from "./dom_types";
|
||||
import { TextDecoder } from "./text_encoding";
|
||||
|
||||
interface Header {
|
||||
|
|
Loading…
Reference in a new issue