diff --git a/types/query-string/index.d.ts b/types/query-string/index.d.ts index 6e560f57e9..3eaf34c159 100644 --- a/types/query-string/index.d.ts +++ b/types/query-string/index.d.ts @@ -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 // Tanguy Krotoff // HuHuanming // Madara Uchiha // Josh Holmer +// Simon Van den Broeck // 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; } /**