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:
성우현 | Woohyun Sung 2025-08-22 05:39:21 +09:00 committed by GitHub
parent 553f236865
commit 5abb0666e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}