Comparing version 6.9.3 to 6.9.4
@@ -13,3 +13,2 @@ // Type definitions for qs 6.9 | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export = QueryString; | ||
@@ -59,11 +58,14 @@ export as namespace qs; | ||
// TODO: The value type here is a version of `unknown` which replicates with an acceptably lossy amount of accuracy. | ||
// When these types support TypeScript 3.0+, we can replace this with `unknown`. | ||
type UnknownFacade = {} | null | undefined; | ||
/** @deprecated - UnknownFacade is more clear about what's going on */ | ||
type PoorMansUnknown = UnknownFacade | ||
interface ParsedQs { [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[] } | ||
// TODO: The value type here is a "poor man's `unknown`". When these types support TypeScript | ||
// 3.0+, we can replace this with `unknown`. | ||
type PoorMansUnknown = {} | null | undefined; | ||
function stringify(obj: any, options?: IStringifyOptions): string; | ||
function parse(str: string, options?: IParseOptions & { decoder?: never }): ParsedQs; | ||
function parse(str: string, options?: IParseOptions): { [key: string]: PoorMansUnknown }; | ||
function parse(str: string, options?: IParseOptions): { [key: string]: UnknownFacade }; | ||
} |
{ | ||
"name": "@types/qs", | ||
"version": "6.9.3", | ||
"version": "6.9.4", | ||
"description": "TypeScript definitions for qs", | ||
@@ -62,4 +62,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "28ce4a78d1d9136225b1d31700c036c2721ea028ceac960f4a8a3427effec34e", | ||
"typesPublisherContentHash": "439bfa44155bda6199294078b4c73c6e38042c2b583f470b75d740a50e4c7125", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 May 2020 17:44:54 GMT | ||
* Last updated: Fri, 24 Jul 2020 21:38:26 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `qs` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6871
62