mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
e07f28d301
This adds support for the URLPattern API. The API is added in --unstable only, as it has not yet shipped in any browser. It is targeted for shipping in Chrome 95. Spec: https://wicg.github.io/urlpattern/ Co-authored-by: crowlKats < crowlkats@toaxl.com >
18 lines
456 B
TypeScript
18 lines
456 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 url: {
|
|
URL: typeof URL;
|
|
URLSearchParams: typeof URLSearchParams;
|
|
parseUrlEncoded(bytes: Uint8Array): [string, string][];
|
|
};
|
|
|
|
declare var urlPattern: {
|
|
URLPattern: typeof URLPattern;
|
|
};
|
|
}
|
|
}
|