Satana Charuwichitratana
c2d945805a
Fix #18940 express app supports on mount event and mountpath property
2018-06-03 20:13:54 +07:00
Satana Charuwichitratana
e92ce1352a
Update test cases to test req.res, req.next, res.req
2018-06-03 19:56:10 +07:00
Satana Charuwichitratana
374b6dd963
Since 4.14.0 options added in reeq.range()
2018-06-03 19:42:59 +07:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
4b2d0110d5
Fix many "import *" that should be "import =" ( #23443 )
2018-02-05 15:35:41 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Tanguy Krotoff
f79f55b826
Fix express.static() with esModuleInterop ( #23335 )
2018-02-01 14:10:52 -08:00
Mick Charuwichitratana
65521da511
Change TypeScript version back to 2.2 as it causes error in other package
2017-12-14 12:04:07 +07:00
Mick Charuwichitratana
6e8f01c669
Add support for append function
2017-12-14 11:40:54 +07:00
Andy
5761cfc6f2
express-serve-static-core: Restore compatibility with ts2.1 ( #21044 )
2017-10-26 12:25:08 -07:00
Alexandre
f8d0b72ff4
Allow typing Express body, params, query and cookies through generics ( #20820 )
...
* Allow typing express body, params, query and cookies through generics
* Increase minor version
* Add ts version comment
* Fix ts requirement comment typo
* Bump all ts version packages
* Bump Morgan package
2017-10-23 17:23:31 -07:00
makepost
9079d17666
[express] Body parsing middleware included in 4.16 ( #20624 )
...
* express.json() and express.urlencoded()
* Express: Add tslint.json
2017-10-23 11:37:58 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
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