Commit Graph

14 Commits

Author SHA1 Message Date
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
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Oliver Joseph Ash
93aa6fbb87 Revert "express-session: req.session is not optional" 2017-07-29 17:27:17 +01:00
Oliver Joseph Ash
b68bc7e429 req.session is not optional 2017-07-13 21:58:58 +01:00
jacobbogers
95b57305ee rule prefer-method-signature=false, to accept legacy ts 2017-05-19 12:47:34 +02:00
jacobbogers
2b902bfe59 changed recommended by tslint break other projects (mongo-store) depending on this declaration, so reverted 2017-05-19 12:25:25 +02:00
jacobbogers
1a4cd67206 strictNullChecks set to true 2017-05-19 12:10:09 +02:00
jacobbogers
475646bd8a tslint is happy now 2017-05-19 11:35:35 +02:00
jacobbogers
afdadfe885 added recommeded changes from tslint 2017-05-19 06:11:06 +02:00
jacobbogers
ac0e8900bf (de) Serialized Sessions and Cookies dont have methods, only data-propeties, express-session middleware will add methods through "instantiation" before use.
Introduced SessionData and SessionCookieData interfaces to reflect proper usage of Store.
2017-05-18 18:23:17 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00