mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
URIjs fix .joinPaths()
the .joinPaths function is on URIStatic, not an instance of URI https://medialize.github.io/URI.js/docs.html#static-joinPaths
This commit is contained in:
4
urijs/URIjs.d.ts
vendored
4
urijs/URIjs.d.ts
vendored
@@ -52,8 +52,6 @@ declare namespace uri {
|
||||
is(qry: string): boolean;
|
||||
iso8859(): URI;
|
||||
|
||||
joinPaths(...paths: (string | URI)[]): URI;
|
||||
|
||||
normalize(): URI;
|
||||
normalizeFragment(): URI;
|
||||
normalizeHash(): URI;
|
||||
@@ -190,6 +188,8 @@ declare namespace uri {
|
||||
expand(template: string, vals: Object): URI;
|
||||
|
||||
iso8859(): void;
|
||||
|
||||
joinPaths(...paths: (string | URI)[]): URI;
|
||||
|
||||
parse(url: string): {
|
||||
protocol: string;
|
||||
|
||||
Reference in New Issue
Block a user