mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Declare purl as string literal
Declare purl as string literal so we can do ´import purl = require("purl")´.
This commit is contained in:
1 parent
fef81a2bee
commit
17d7f5e46d
1 file changed
+4
Vendored
+4
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user