Commit Graph

25 Commits

Author SHA1 Message Date
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
Tomek Łaziuk
05c5ec5f90 [koa-session] upgrade typings to v5.7 (#22882)
* upgrade typings

* version bump

* dtslint
2018-01-18 13:27:25 -08:00
Andy
954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00
Sebastian Ferreyra
16cec459b7 Widened 'koa'.Context.session type3 in order to enable strict null checks inb the compiler (#20341) 2017-10-11 16:21:25 -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
Avindra Goolcharan
46888997b8 koa-session: flesh out types for beforeSave and valid hooks (#18789)
* koa-session: make `beforeSave` hook optional

ec88cfb095/lib/context.js (L215-L218)

* Flesh out types for beforeSave

* add proper types for valid() as well
2017-08-10 16:37:58 -07:00
Avindra Goolcharan
7e252c06da sessionConfig.valid: make optional (#18748)
`koa-session` does not actually require this validator and will provide a default behavior if its not supplied.

see: cb6d2c8448/lib/context.js (L152-L167)
2017-08-08 11:29:26 -07:00
Bin
b94bf813e3 fixed no-trailing-whitespace trailing whitespace
fixed no-trailing-whitespace  trailing whitespace
2017-07-07 12:54:49 +08:00
Bin
d99f00b9f0 Aligined asterisks
Aligined asterisks
2017-07-07 12:43:23 +08:00
Bin
55b475e643 delete space
Add rolling supports to koa-session. Delete space.
2017-07-07 12:33:17 +08:00
Bin
592694f626 Add rolling supports
Add rolling supports. https://github.com/koajs/session/pull/84
2017-07-07 12:22:41 +08:00
Andy
323a00ed08 koa-session: convert crlf to lf (#17259) 2017-06-16 12:47:40 -07:00
kerol2r20
7a709fde3b Modify the module style of koa-session 2017-06-17 01:41:10 +08:00
kerol2r20
41c56cb34b Modify the information comment about koa 2017-06-17 01:38:05 +08:00
kerol2r20
5b778cf622 Modify author's name 2017-06-14 04:31:06 +08:00
kerol2r20
0bf3602c2b Modify the wrong base information of index.d.ts 2017-06-13 16:53:33 +08:00
kerol2r20
ea2ab409e9 Fix interface EOL should be semicolon not comma 2017-06-13 16:44:50 +08:00
kerol2r20
e2a16b64b3 add sessionConfig interface 2017-06-13 16:40:25 +08:00
kerol2r20
0bb157d4f9 Fix document format align 2017-06-13 16:26:43 +08:00
kerol2r20
5e8c959abc Fix jsdoc comment format error 2017-06-13 16:09:08 +08:00
kerol2r20
48407866a1 Add comment to serssionProps interface 2017-06-13 15:53:09 +08:00
kerol2r20
8bc37013d6 Update koa-session definition file
Reference to koa's official project https://github.com/koajs/session
2017-06-13 15:47:14 +08:00