mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
e83ff62ccb
This commit starts splitting out the deno_web op crate into multiple smaller crates. This commit splits out WebIDL and URL API, but in the future I want to split out each spec into its own crate. That means we will have (in rough order of loading): `webidl`, `dom`, `streams`, `console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and `webgpu` crates.
16 lines
377 B
TypeScript
16 lines
377 B
TypeScript
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
/// <reference no-default-lib="true" />
|
|
/// <reference lib="esnext" />
|
|
|
|
declare namespace globalThis {
|
|
declare namespace __bootstrap {
|
|
declare var eventTarget: {
|
|
EventTarget: typeof EventTarget;
|
|
};
|
|
|
|
declare var location: {
|
|
getLocationHref(): string | undefined;
|
|
};
|
|
}
|
|
}
|