Skip to content

Commit 1424287

Browse files
committed
Merge pull request DefinitelyTyped#4774 from zeldigas/patch-1
missing allowed parameters for methods
2 parents 6f04d25 + abecee2 commit 1424287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

urijs/URIjs.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ declare module uri {
99

1010
interface URI {
1111
absoluteTo(path: string): URI;
12+
absoluteTo(path: URI): URI;
1213
addFragment(fragment: string): URI;
1314
addQuery(qry: string): URI;
1415
addQuery(qry: Object): URI;
1516
addSearch(qry: string): URI;
17+
addSearch(key: string, value:any): URI;
1618
addSearch(qry: Object): URI;
1719
authority(): string;
1820
authority(authority: string): URI;

0 commit comments

Comments
 (0)