Express: Response set: allow array value

This commit is contained in:
Oliver Joseph Ash
2018-05-24 09:23:17 +01:00
parent 25916bc288
commit 1d104a5829
+1
View File
@@ -707,6 +707,7 @@ export interface Response extends http.ServerResponse, Express.Response {
*/
set(field: any): Response;
set(field: string, value?: string): Response;
set(field: string, value?: string[]): Response;
header(field: any): Response;
header(field: string, value?: string): Response;