mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Add origin() & joinPaths() to urijs (#9419)
This commit is contained in:
committed by
Masahiro Wakame
parent
ae98aa7dd3
commit
3e77642fd9
Vendored
+5
@@ -52,6 +52,8 @@ declare namespace uri {
|
||||
is(qry: string): boolean;
|
||||
iso8859(): URI;
|
||||
|
||||
joinPaths(...paths: (string | URI)[]): URI;
|
||||
|
||||
normalize(): URI;
|
||||
normalizeFragment(): URI;
|
||||
normalizeHash(): URI;
|
||||
@@ -63,6 +65,9 @@ declare namespace uri {
|
||||
normalizeQuery(): URI;
|
||||
normalizeSearch(): URI;
|
||||
|
||||
origin(): string;
|
||||
origin(uri: string | URI): URI;
|
||||
|
||||
password(): string;
|
||||
password(pw: string): URI;
|
||||
path(): string;
|
||||
|
||||
Reference in New Issue
Block a user