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.
This commit is contained in:
mnlegend
2019-02-28 15:02:51 -08:00
committed by GitHub
parent 4acadb564b
commit a29aa5cf19
+1 -1
View File
@@ -19,7 +19,7 @@ declare namespace QueryString {
encode?: boolean;
encoder?: (str: string) => any;
filter?: Array<string | number> | ((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;