typings: add missing URLBinding methods · nodejs/node@baa2289

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: typeof urlUpdateActions, value: string): string | false;

13+

getOrigin(input: string): string;

14+

pathToFileURL(input: string, isWindows: boolean, hostname?: string): string;

1315

}