mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
add id
This commit is contained in:
Vendored
+3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user