Update express-session.d.ts

These functions still exist on the documentation and in the code.
This commit is contained in:
Xavier Stouder
2016-03-31 22:09:31 +02:00
parent e937b3e64a
commit 988dbadb80
+7
View File
@@ -69,6 +69,13 @@ declare module "express-session" {
regenerate (req: express.Request, fn: (err: any) => any): void;
load (sid: string, fn: (err: any, session: Express.Session) => any): void;
createSession (req: express.Request, sess: Express.Session): void;
get: (sid: string, callback: (err: any, session: Express.Session) => void) => void;
set: (sid: string, session: Express.Session, callback: (err: any) => void) => void;
destroy: (sid: string, callback: (err: any) => void) => void;
all: (callback: (err: any, obj: { [sid: string]: Express.Session; }) => void) => void;
length: (callback: (err: any, length: number) => void) => void;
clear: (callback: (err: any) => void) => void;
}
export class MemoryStore implements BaseMemoryStore {