2023-01-02 16:00:42 -05:00
|
|
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
chore: split web op crate (#9635)
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.
2021-03-12 10:17:18 -05:00
|
|
|
|
|
|
|
/// <reference no-default-lib="true" />
|
|
|
|
/// <reference lib="esnext" />
|
|
|
|
|
2023-02-07 16:09:50 -05:00
|
|
|
declare module "internal:deno_url/00_url.js" {
|
2023-02-07 14:22:46 -05:00
|
|
|
const URL: typeof URL;
|
|
|
|
const URLSearchParams: typeof URLSearchParams;
|
|
|
|
function parseUrlEncoded(bytes: Uint8Array): [string, string][];
|
|
|
|
}
|
2021-09-08 05:14:29 -04:00
|
|
|
|
2023-02-07 16:09:50 -05:00
|
|
|
declare module "internal:deno_url/01_urlpattern.js" {
|
2023-02-07 14:22:46 -05:00
|
|
|
const URLPattern: typeof URLPattern;
|
chore: split web op crate (#9635)
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.
2021-03-12 10:17:18 -05:00
|
|
|
}
|