mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +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:
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