mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
Merge pull request #25994 from OliverJAsh/oja/express/response-set-header-value-array
Express: `Response` `set`: allow array value
This commit is contained in:
1
types/express-serve-static-core/index.d.ts
vendored
1
types/express-serve-static-core/index.d.ts
vendored
@@ -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