mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
typings: add missing URLBinding methods
PR-URL: https://github.com/nodejs/node/pull/59468 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
553f236865
commit
5abb0666e7
2
typings/internalBinding/url.d.ts
vendored
2
typings/internalBinding/url.d.ts
vendored
|
|
@ -10,4 +10,6 @@ export interface URLBinding {
|
|||
format(input: string, fragment?: boolean, unicode?: boolean, search?: boolean, auth?: boolean): string;
|
||||
parse(input: string, base?: string): string | false;
|
||||
update(input: string, actionType: typeof urlUpdateActions, value: string): string | false;
|
||||
getOrigin(input: string): string;
|
||||
pathToFileURL(input: string, isWindows: boolean, hostname?: string): string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user