mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Add origin() & joinPaths() to urijs (#9419)
This commit is contained in:
committed by
Masahiro Wakame
parent
ae98aa7dd3
commit
3e77642fd9
5
urijs/URIjs.d.ts
vendored
5
urijs/URIjs.d.ts
vendored
@@ -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