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 16:17:18 +01:00
|
|
|
|
|
|
|
/// <reference no-default-lib="true" />
|
|
|
|
/// <reference lib="esnext" />
|
|
|
|
|
2023-03-08 07:44:54 -04:00
|
|
|
declare module "ext:deno_url/00_url.js" {
|
2023-02-07 20:22:46 +01:00
|
|
|
const URL: typeof URL;
|
|
|
|
const URLSearchParams: typeof URLSearchParams;
|
|
|
|
function parseUrlEncoded(bytes: Uint8Array): [string, string][];
|
|
|
|
}
|
2021-09-08 11:14:29 +02:00
|
|
|
|
2023-03-08 07:44:54 -04:00
|
|
|
declare module "ext:deno_url/01_urlpattern.js" {
|
2023-02-07 20:22:46 +01: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 16:17:18 +01:00
|
|
|
}
|