@types/url-assembler
Advanced tools
Comparing version
@@ -7,19 +7,19 @@ // Type definitions for url-assembler 1.2 | ||
interface UrlAssembler { | ||
template(template: string): UrlAssembler; | ||
prefix(subPath: string): UrlAssembler; | ||
segment(subPathTemplate: string): UrlAssembler; | ||
param(key: string, value: string, strict?: boolean): UrlAssembler; | ||
param(params: {[s: string]: any}, strict?: boolean): UrlAssembler; | ||
query(key: string, value: any): UrlAssembler; | ||
query(params: {[s: string]: any}): UrlAssembler; | ||
toString(): string; | ||
valueOf(): string; | ||
toJSON(): string; | ||
template(template: string): UrlAssembler; | ||
prefix(subPath: string): UrlAssembler; | ||
segment(subPathTemplate: string): UrlAssembler; | ||
param(key: string, value: string, strict?: boolean): UrlAssembler; | ||
param(params: {[s: string]: any}, strict?: boolean): UrlAssembler; | ||
query(key: string, value: any): UrlAssembler; | ||
query(params: {[s: string]: any}): UrlAssembler; | ||
toString(): string; | ||
valueOf(): string; | ||
toJSON(): string; | ||
} | ||
interface UrlAssemblerConstructor { | ||
(baseUrl?: string): UrlAssembler; | ||
(urlAssembler: UrlAssembler): UrlAssembler; | ||
new (baseUrl?: string): UrlAssembler; | ||
new (urlAssembler: UrlAssembler): UrlAssembler; | ||
(baseUrl?: string): UrlAssembler; | ||
(urlAssembler: UrlAssembler): UrlAssembler; | ||
new (baseUrl?: string): UrlAssembler; | ||
new (urlAssembler: UrlAssembler): UrlAssembler; | ||
} | ||
@@ -26,0 +26,0 @@ |
{ | ||
"name": "@types/url-assembler", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "TypeScript definitions for url-assembler", | ||
@@ -14,11 +14,12 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/url-assembler" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ba077a5c9c6c82c086516b5655d2daf96725a601b1a267914e951fb1f615bd82", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "a68788b83020651f9ea8b17de24e468f45c65eb6dba4f9374a715590bebd9845", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-assembler | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-assembler. | ||
Additional Details | ||
* Last updated: Mon, 03 Dec 2018 19:27:11 GMT | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 13:12:51 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Wolfgang Faust <https://github.com/wolfgang42>. | ||
These definitions were written by [Wolfgang Faust](https://github.com/wolfgang42). |
Sorry, the diff of this file is not supported yet
3386
1.65%