mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Express: Response set: allow array value
This commit is contained in:
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user