File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
- // Type definitions for Purl 2.3.1
1
+ // Type definitions for Purl 2.3.1
2
2
// Project: https://github.com/allmarkedup/purl
3
3
// Definitions by: Daniel Ferreira Monteiro Alves <https://github.com/danfma>
4
4
// Definitions: https://github.com/borisyankov/DefinitelyTyped
5
5
6
6
declare module purl {
7
7
8
+ interface ParameterMap {
9
+ [ parameterName : string ] : string ;
10
+ }
11
+
8
12
export interface Url {
9
13
10
14
/**
@@ -15,6 +19,7 @@ declare module purl {
15
19
/**
16
20
* The .param() method is used to return the values of querystring parameters.
17
21
*/
22
+ param ( ) : ParameterMap ;
18
23
param ( parameterName : string ) : string ;
19
24
20
25
/**
@@ -27,6 +32,7 @@ declare module purl {
27
32
/**
28
33
* Gets a parameter from the fragment segment
29
34
*/
35
+ fparam ( ) : ParameterMap ;
30
36
fparam ( parameterName : string ) : string ;
31
37
32
38
/**
You can’t perform that action at this time.
0 commit comments