mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix: add missing URL.canParse()
types (#20244)
Reference: https://developer.mozilla.org/en-US/docs/Web/API/URL/canParse_static
This commit is contained in:
parent
9b01307704
commit
af1b794e53
2 changed files with 4 additions and 0 deletions
2
cli/tsc/dts/lib.dom.d.ts
vendored
2
cli/tsc/dts/lib.dom.d.ts
vendored
|
@ -22483,6 +22483,8 @@ interface URL {
|
|||
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 | URL): boolean;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL) */
|
||||
createObjectURL(obj: Blob | MediaSource): string;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL) */
|
||||
|
|
2
cli/tsc/dts/lib.webworker.d.ts
vendored
2
cli/tsc/dts/lib.webworker.d.ts
vendored
|
@ -5559,6 +5559,8 @@ interface URL {
|
|||
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 | URL): boolean;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL) */
|
||||
createObjectURL(obj: Blob): string;
|
||||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL) */
|
||||
|
|
Loading…
Reference in a new issue