From 1d104a5829ca51f5b5dd2aff1ae4c220198e012b Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Thu, 24 May 2018 09:23:17 +0100 Subject: [PATCH] Express: `Response` `set`: allow array value --- types/express-serve-static-core/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/express-serve-static-core/index.d.ts b/types/express-serve-static-core/index.d.ts index 30fe69c82a..f8521d433d 100644 --- a/types/express-serve-static-core/index.d.ts +++ b/types/express-serve-static-core/index.d.ts @@ -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;