2024-01-01 14:58:21 -05:00
|
|
|
// Copyright 2018-2024 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-03-08 06:44:54 -05:00
|
|
|
declare module "ext: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-03-08 06:44:54 -05:00
|
|
|
declare module "ext: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
|
|
|
}
|