File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2171,7 +2171,7 @@ declare module "child_process" {
21712171}
21722172
21732173declare module "url" {
2174- export interface UrlObject {
2174+ export interface InputUrlObject {
21752175 auth ?: string ;
21762176 hash ?: string ;
21772177 host ?: string ;
@@ -2186,13 +2186,13 @@ declare module "url" {
21862186 slashes ?: boolean ;
21872187 }
21882188
2189- export interface Url extends UrlObject {
2189+ export interface OutputUrlObject extends InputUrlObject {
21902190 port ?: string ;
21912191 }
21922192
2193- export function parse ( urlStr : string , parseQueryString ?: boolean , slashesDenoteHost ?: boolean ) : Url ;
2193+ export function parse ( urlStr : string , parseQueryString ?: boolean , slashesDenoteHost ?: boolean ) : OutputUrlObject ;
21942194 export function format ( URL : URL , options ?: URLFormatOptions ) : string ;
2195- export function format ( urlObject : UrlObject | string ) : string ;
2195+ export function format ( urlObject : InputUrlObject | string ) : string ;
21962196 export function resolve ( from : string , to : string ) : string ;
21972197
21982198 export interface URLFormatOptions {
You can’t perform that action at this time.
0 commit comments