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.
- package/index.d.ts +6 -1
- 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
|
-
|
|
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
|
|