From a29aa5cf19fc22ab283af6a3e5ed3b15939726ab Mon Sep 17 00:00:00 2001 From: mnlegend Date: Thu, 28 Feb 2019 15:02:51 -0800 Subject: [PATCH] Add comma option to arrayFormat to match qs update Update index.d.ts: Add comma as an arrayFormat option to match the updated qs code. --- types/qs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/qs/index.d.ts b/types/qs/index.d.ts index 2a3b10a273..aead3eb442 100644 --- a/types/qs/index.d.ts +++ b/types/qs/index.d.ts @@ -19,7 +19,7 @@ declare namespace QueryString { encode?: boolean; encoder?: (str: string) => any; filter?: Array | ((prefix: string, value: any) => any); - arrayFormat?: 'indices' | 'brackets' | 'repeat'; + arrayFormat?: 'indices' | 'brackets' | 'repeat' | 'comma'; indices?: boolean; sort?: (a: any, b: any) => number; serializeDate?: (d: Date) => string;