@types/url-search-params
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
// Type definitions for url-search-params 0.10 | ||
// Type definitions for url-search-params 1.1 | ||
// Project: https://github.com/WebReflection/url-search-params | ||
@@ -6,16 +6,25 @@ // Definitions by: Nick <https://github.com/nick121212> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.1 | ||
/** | ||
* Based on definitions of lib.dom and lib.dom.iteralbe | ||
*/ | ||
declare class URLSearchParams { | ||
constructor(init?: string | URLSearchParams | any); | ||
append(name: string, value: any): void; | ||
constructor(init?: string[][] | Record<string, string> | string | URLSearchParams); | ||
append(name: string, value: string): void; | ||
delete(name: string): void; | ||
entries(): Iterator<string>; | ||
get(name: string): string | null; | ||
getAll(name: string): string[]; | ||
has(name: string): boolean; | ||
keys(): Iterator<string>; | ||
set(name: string, value: any): void; | ||
values(): Iterator<string>; | ||
set(name: string, value: string): void; | ||
sort(): void; | ||
forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void; | ||
[Symbol.iterator](): IterableIterator<[string, string]>; | ||
entries(): IterableIterator<[string, string]>; | ||
keys(): IterableIterator<string>; | ||
values(): IterableIterator<string>; | ||
} | ||
export = URLSearchParams; |
{ | ||
"name": "@types/url-search-params", | ||
"version": "0.10.2", | ||
"version": "1.1.0", | ||
"description": "TypeScript definitions for url-search-params", | ||
@@ -19,2 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -26,4 +27,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "b65df18d6da35d58ebfb1095cdc0a5e295ab497adc0da2c10afd946c1e709469", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "b3014b0bb91504fd201a843637af060d3cba36d268c20a04c382bddbf15288e7", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 14 Jul 2018 01:02:01 GMT | ||
* Last updated: Tue, 25 Dec 2018 21:10:50 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3613
12.27%25
38.89%1
-50%