mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
Add renew parameter to config
This commit is contained in:
5
types/koa-session/index.d.ts
vendored
5
types/koa-session/index.d.ts
vendored
@@ -156,6 +156,11 @@ declare namespace session {
|
||||
*/
|
||||
rolling?: boolean;
|
||||
|
||||
/**
|
||||
* Renew session when session is nearly expired, so we can always keep user logged in. (default is false)
|
||||
*/
|
||||
renew?: boolean;
|
||||
|
||||
/**
|
||||
* You can store the session content in external stores(redis, mongodb or other DBs)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user