summaryrefslogtreecommitdiff
path: root/ext/url/internal.d.ts
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-09-08 11:14:29 +0200
committerGitHub <noreply@github.com>2021-09-08 11:14:29 +0200
commite07f28d301b990ebf534cbb8d5fa9f507475c89f (patch)
tree6a00f6a0abe0a7833a7d0feadf4e5d8c3509c12e /ext/url/internal.d.ts
parent2de5587547247e3acdffecae1c74caf52a021580 (diff)
feat: add URLPattern API (#11941)
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 >
Diffstat (limited to 'ext/url/internal.d.ts')
-rw-r--r--ext/url/internal.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/url/internal.d.ts b/ext/url/internal.d.ts
index ec2c2688c..45bf670aa 100644
--- a/ext/url/internal.d.ts
+++ b/ext/url/internal.d.ts
@@ -10,5 +10,9 @@ declare namespace globalThis {
URLSearchParams: typeof URLSearchParams;
parseUrlEncoded(bytes: Uint8Array): [string, string][];
};
+
+ declare var urlPattern: {
+ URLPattern: typeof URLPattern;
+ };
}
}