Skip to content

Commit baa2289

Browse files
whsung0330targos
authored andcommitted
typings: add missing URLBinding methods
PR-URL: #59468 Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0e8bc2c commit baa2289

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎typings/internalBinding/url.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ export interface URLBinding{
1010
format(input: string,fragment?: boolean,unicode?: boolean,search?: boolean,auth?: boolean): string;
1111
parse(input: string,base?: string): string|false;
1212
update(input: string,actionType: typeofurlUpdateActions,value: string): string|false;
13+
getOrigin(input: string): string;
14+
pathToFileURL(input: string,isWindows: boolean,hostname?: string): string;
1315
}

0 commit comments

Comments
(0)