mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: add missing URL.parse
types (#23893)
This commit is contained in:
parent
a2dbcf9e0a
commit
9e890399fc
2 changed files with 6 additions and 2 deletions
4
cli/tsc/dts/lib.dom.d.ts
vendored
4
cli/tsc/dts/lib.dom.d.ts
vendored
|
@ -22735,9 +22735,11 @@ declare var URL: {
|
|||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
||||
canParse(url: string | URL, base?: string): boolean;
|
||||
canParse(url: string | URL, base?: string | URL): boolean;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
||||
createObjectURL(obj: Blob | MediaSource): string;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
||||
parse(url: string | URL, base?: string | URL): URL | null;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
||||
revokeObjectURL(url: string): void;
|
||||
};
|
||||
|
|
4
cli/tsc/dts/lib.webworker.d.ts
vendored
4
cli/tsc/dts/lib.webworker.d.ts
vendored
|
@ -5680,9 +5680,11 @@ declare var URL: {
|
|||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
||||
canParse(url: string | URL, base?: string): boolean;
|
||||
canParse(url: string | URL, base?: string | URL): boolean;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
||||
createObjectURL(obj: Blob): string;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
||||
parse(url: string | URL, base?: string | URL): URL | null;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
||||
revokeObjectURL(url: string): void;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue