diff options
Diffstat (limited to 'op_crates/url')
-rw-r--r-- | op_crates/url/00_url.js | 8 | ||||
-rw-r--r-- | op_crates/url/lib.deno_url.d.ts | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/op_crates/url/00_url.js b/op_crates/url/00_url.js index 9dd2b7800..bf1ed6059 100644 --- a/op_crates/url/00_url.js +++ b/op_crates/url/00_url.js @@ -389,14 +389,6 @@ toJSON() { return this.href; } - - static createObjectURL() { - throw new Error("Not implemented"); - } - - static revokeObjectURL() { - throw new Error("Not implemented"); - } } window.__bootstrap.url = { diff --git a/op_crates/url/lib.deno_url.d.ts b/op_crates/url/lib.deno_url.d.ts index 2a27fe693..3f9745352 100644 --- a/op_crates/url/lib.deno_url.d.ts +++ b/op_crates/url/lib.deno_url.d.ts @@ -155,8 +155,8 @@ declare class URLSearchParams { /** The URL interface represents an object providing static methods used for creating object URLs. */ declare class URL { constructor(url: string, base?: string | URL); - createObjectURL(object: any): string; - revokeObjectURL(url: string): void; + static createObjectURL(blob: Blob): string; + static revokeObjectURL(url: string): void; hash: string; host: string; |