mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #31864 from Jarrku/patch-1
[query-string] Add `sort` to StringifyOptions
This commit is contained in:
Vendored
+3
-1
@@ -1,10 +1,11 @@
|
||||
// Type definitions for query-string 6.1
|
||||
// Type definitions for query-string 6.2
|
||||
// Project: https://github.com/sindresorhus/query-string
|
||||
// Definitions by: Sam Verschueren <https://github.com/SamVerschueren>
|
||||
// Tanguy Krotoff <https://github.com/tkrotoff>
|
||||
// HuHuanming <https://github.com/huhuanming>
|
||||
// Madara Uchiha <https://github.com/MadaraUchiha>
|
||||
// Josh Holmer <https://github.com/shssoichiro>
|
||||
// Simon Van den Broeck <https://github.com/jarrku>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -33,6 +34,7 @@ export interface StringifyOptions {
|
||||
strict?: boolean;
|
||||
encode?: boolean;
|
||||
arrayFormat?: 'bracket' | 'index' | 'none';
|
||||
sort?: ((m: string, n: string) => boolean) | boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user