Commit Graph

8 Commits

Author SHA1 Message Date
Hiroshi Yamaguchi
7b604e3e6a Fix header() return type
req.header() returns an array of strings if and only if "set-cookie"
See: https://nodejs.org/api/http.html#http_message_headers
2017-09-08 17:24:06 +09:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
e020873
517b8d4dd7 [express] fix accepts return 2017-07-03 01:14:21 +02:00
Andy
b9afd83a91 express-serve-static-core: Don't redeclare headers from http.IncomingMessage (#17229) 2017-06-16 07:11:36 -07:00
Andy
1ee9a51f35 Avoid unnecessary /// <reference types="node" /> in tests (#17226) 2017-06-15 14:53:16 -07:00
Martin Zagora
72af5467ee set TS version to 2.2 2017-06-07 16:18:28 +10:00
Martin Zagora
7f9adbee73 express header methods can return undefined 2017-06-07 16:00:41 +10:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00