added hash & path to node's UrlOptions

This commit is contained in:
Bart van der Schoor
2014-03-31 18:22:26 +02:00
parent eff67e5162
commit 12766b5357
+2
View File
@@ -644,6 +644,8 @@ declare module "url" {
pathname?: string;
search?: string;
query?: any;
hash?: string;
path?: string;
}
export function parse(urlStr: string, parseQueryString?: boolean , slashesDenoteHost?: boolean ): Url;