Declare purl as string literal

Declare purl as string literal so we can do ´import purl = require("purl")´.
This commit is contained in:
Geir Sagberg
2014-06-13 13:31:26 +02:00
parent fef81a2bee
commit 17d7f5e46d

4
purl/purl.d.ts vendored
View File

@@ -48,3 +48,7 @@ declare function purl(): purl.Url;
* @param someUrl the url to be parsed
*/
declare function purl(someUrl: string): purl.Url;
declare module "purl" {
export = purl;
}