File tree 6 files changed +38
-10
lines changed
6 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -1016,9 +1016,9 @@ declare var URL: {
1016
1016
prototype : URL ;
1017
1017
new ( url : string | URL , base ?: string | URL ) : URL ;
1018
1018
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
1019
- canParse ( url : string | URL , base ?: string ) : boolean ;
1019
+ canParse ( url : string | URL , base ?: string | URL ) : boolean ;
1020
1020
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1021
- parse ( url : string | URL , base ?: string ) : URL | null ;
1021
+ parse ( url : string | URL , base ?: string | URL ) : URL | null ;
1022
1022
} ;
1023
1023
1024
1024
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
Original file line number Diff line number Diff line change @@ -22356,11 +22356,11 @@ declare var URL: {
22356
22356
prototype: URL;
22357
22357
new(url: string | URL, base?: string | URL): URL;
22358
22358
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
22359
- canParse(url: string | URL, base?: string): boolean;
22359
+ canParse(url: string | URL, base?: string | URL ): boolean;
22360
22360
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
22361
22361
createObjectURL(obj: Blob | MediaSource): string;
22362
22362
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
22363
- parse(url: string | URL, base?: string): URL | null;
22363
+ parse(url: string | URL, base?: string | URL ): URL | null;
22364
22364
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
22365
22365
revokeObjectURL(url: string): void;
22366
22366
};
Original file line number Diff line number Diff line change @@ -5265,9 +5265,9 @@ declare var URL: {
5265
5265
prototype : URL ;
5266
5266
new ( url : string | URL , base ?: string | URL ) : URL ;
5267
5267
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
5268
- canParse ( url : string | URL , base ?: string ) : boolean ;
5268
+ canParse ( url : string | URL , base ?: string | URL ) : boolean ;
5269
5269
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5270
- parse ( url : string | URL , base ?: string ) : URL | null ;
5270
+ parse ( url : string | URL , base ?: string | URL ) : URL | null ;
5271
5271
} ;
5272
5272
5273
5273
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
Original file line number Diff line number Diff line change @@ -5074,11 +5074,11 @@ declare var URL: {
5074
5074
prototype : URL ;
5075
5075
new ( url : string | URL , base ?: string | URL ) : URL ;
5076
5076
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
5077
- canParse ( url : string | URL , base ?: string ) : boolean ;
5077
+ canParse ( url : string | URL , base ?: string | URL ) : boolean ;
5078
5078
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
5079
5079
createObjectURL ( obj : Blob ) : string ;
5080
5080
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5081
- parse ( url : string | URL , base ?: string ) : URL | null ;
5081
+ parse ( url : string | URL , base ?: string | URL ) : URL | null ;
5082
5082
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
5083
5083
revokeObjectURL ( url : string ) : void ;
5084
5084
} ;
Original file line number Diff line number Diff line change @@ -5644,11 +5644,11 @@ declare var URL: {
5644
5644
prototype : URL ;
5645
5645
new ( url : string | URL , base ?: string | URL ) : URL ;
5646
5646
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
5647
- canParse ( url : string | URL , base ?: string ) : boolean ;
5647
+ canParse ( url : string | URL , base ?: string | URL ) : boolean ;
5648
5648
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
5649
5649
createObjectURL ( obj : Blob ) : string ;
5650
5650
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5651
- parse ( url : string | URL , base ?: string ) : URL | null ;
5651
+ parse ( url : string | URL , base ?: string | URL ) : URL | null ;
5652
5652
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
5653
5653
revokeObjectURL ( url : string ) : void ;
5654
5654
} ;
Original file line number Diff line number Diff line change 2061
2061
]
2062
2062
}
2063
2063
}
2064
+ },
2065
+ "methods" : {
2066
+ "method" : {
2067
+ "canParse" : {
2068
+ "signature" : {
2069
+ "0" : {
2070
+ "param" : [
2071
+ {
2072
+ "name" : " base" ,
2073
+ "additionalTypes" : [" URL" ]
2074
+ }
2075
+ ]
2076
+ }
2077
+ }
2078
+ },
2079
+ "parse" : {
2080
+ "signature" : {
2081
+ "0" : {
2082
+ "param" : [
2083
+ {
2084
+ "name" : " base" ,
2085
+ "additionalTypes" : [" URL" ]
2086
+ }
2087
+ ]
2088
+ }
2089
+ }
2090
+ }
2091
+ }
2064
2092
}
2065
2093
},
2066
2094
"Client" : {
You can’t perform that action at this time.
0 commit comments