This commit is contained in:
Moshe Atlow
2016-09-29 23:48:42 +03:00
committed by GitHub
parent 43d17ebbfe
commit c4e9d77c18
+3
View File
@@ -10,11 +10,14 @@ declare namespace Express {
export interface Request {
session?: Session;
readonly sessionId: string;
}
export interface Session {
[key: string]: any;
readonly id: string;
regenerate: (callback: (err: any) => void) => void;
destroy: (callback: (err: any) => void) => void;
reload: (callback: (err: any) => void) => void;