query-string 6.13.7 → 6.13.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +6 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -350,7 +350,12 @@ export type StringifiableRecord = Record<
350
350
  Stringify an object into a query string and sort the keys.
351
351
  */
352
352
  export function stringify(
353
- object: StringifiableRecord,
353
+ // TODO: Use the below instead when the following TS issues are fixed:
354
+ // - https://github.com/microsoft/TypeScript/issues/15300
355
+ // - https://github.com/microsoft/TypeScript/issues/42021
356
+ // Context: https://github.com/sindresorhus/query-string/issues/298
357
+ // object: StringifiableRecord,
358
+ object: Record<string, any>,
354
359
  options?: StringifyOptions
355
360
  ): string;
356
361
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "query-string",
3
- "version": "6.13.7",
3
+ "version": "6.13.8",
4
4
  "description": "Parse and stringify URL query strings",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/query-string",