mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+7
-7
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Daniel Ferreira Monteiro Alves <https://github.com/danfma>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module purl {
|
||||
declare namespace purl {
|
||||
|
||||
interface ParameterMap {
|
||||
[parameterName: string]: string;
|
||||
@@ -16,8 +16,8 @@ declare module purl {
|
||||
*/
|
||||
attr(option: string): string;
|
||||
|
||||
/**
|
||||
* The .param() method is used to return the values of querystring parameters.
|
||||
/**
|
||||
* The .param() method is used to return the values of querystring parameters.
|
||||
*/
|
||||
param(): ParameterMap;
|
||||
param(parameterName: string): string;
|
||||
@@ -44,13 +44,13 @@ declare module purl {
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse the current page URL
|
||||
* Parse the current page URL
|
||||
*/
|
||||
declare function purl(): purl.Url;
|
||||
|
||||
/**
|
||||
* Pass in a URI as a string and parse that
|
||||
*
|
||||
/**
|
||||
* Pass in a URI as a string and parse that
|
||||
*
|
||||
* @param someUrl the url to be parsed
|
||||
*/
|
||||
declare function purl(someUrl: string): purl.Url;
|
||||
|
||||
Reference in New Issue
Block a user