summaryrefslogtreecommitdiff
path: root/ext/url/lib.deno_url.d.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2023-04-04 20:34:12 +0900
committerGitHub <noreply@github.com>2023-04-04 13:34:12 +0200
commit2dc20168371e827b86e2ce0d1d7787139fba68f3 (patch)
tree21899b1b75896728a021d008c4fcdcdc3a429ad0 /ext/url/lib.deno_url.d.ts
parentc341dbee5d8924988533b88d5a7900b63baf27d3 (diff)
feat(ext/url): `URL.canParse` (#18286)
Diffstat (limited to 'ext/url/lib.deno_url.d.ts')
-rw-r--r--ext/url/lib.deno_url.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts
index 0181c6fb3..1d5f84019 100644
--- a/ext/url/lib.deno_url.d.ts
+++ b/ext/url/lib.deno_url.d.ts
@@ -167,6 +167,7 @@ declare class URLSearchParams {
*/
declare class URL {
constructor(url: string | URL, base?: string | URL);
+ static canParse(url: string | URL, base?: string | URL): boolean;
static createObjectURL(blob: Blob): string;
static revokeObjectURL(url: string): void;