summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorMasahiro Miyashiro (3846masa) <3846masahiro@gmail.com>2020-05-18 00:37:16 +0900
committerGitHub <noreply@github.com>2020-05-17 11:37:16 -0400
commit63bc468365bceda929a39b5eb93b605e2dc2bd9c (patch)
tree3293c6bf478c29fb92dc7890936fc46199b8907d /cli/js
parent4db4a7fbccad698a1e91ea0c9b6c9a68c2d553f7 (diff)
Fix definition of URL constructor (#5521)
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/lib.deno.shared_globals.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/lib.deno.shared_globals.d.ts b/cli/js/lib.deno.shared_globals.d.ts
index ed1c1ac0b..9ad9f0a1e 100644
--- a/cli/js/lib.deno.shared_globals.d.ts
+++ b/cli/js/lib.deno.shared_globals.d.ts
@@ -1172,7 +1172,7 @@ interface URL {
declare const URL: {
prototype: URL;
- new (url: string | URL, base?: string | URL): URL;
+ new (url: string, base?: string | URL): URL;
createObjectURL(object: any): string;
revokeObjectURL(url: string): void;
};