mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
37 lines
959 B
TypeScript
37 lines
959 B
TypeScript
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
// deno-lint-ignore-file no-explicit-any
|
|
|
|
/// <reference no-default-lib="true" />
|
|
/// <reference lib="esnext" />
|
|
|
|
declare namespace globalThis {
|
|
declare namespace __bootstrap {
|
|
declare var fetchUtil: {
|
|
requiredArguments(name: string, length: number, required: number): void;
|
|
};
|
|
|
|
declare var domIterable: {
|
|
DomIterableMixin(base: any, dataSymbol: symbol): any;
|
|
};
|
|
|
|
declare var headers: {
|
|
Headers: typeof Headers;
|
|
};
|
|
|
|
declare var file: {
|
|
Blob: typeof Blob & {
|
|
[globalThis.__bootstrap.file._byteSequence]: Uint8Array;
|
|
};
|
|
_byteSequence: unique symbol;
|
|
File: typeof File & {
|
|
[globalThis.__bootstrap.file._byteSequence]: Uint8Array;
|
|
};
|
|
};
|
|
|
|
declare var streams: {
|
|
ReadableStream: typeof ReadableStream;
|
|
isReadableStreamDisturbed(stream: ReadableStream): boolean;
|
|
};
|
|
}
|
|
}
|