mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 08:58:49 +08:00
Revert "express-session: req.session is not optional"
This commit is contained in:
committed by
GitHub
parent
c698079f5a
commit
93aa6fbb87
2
types/express-session/index.d.ts
vendored
2
types/express-session/index.d.ts
vendored
@@ -12,7 +12,7 @@ import node = require('events');
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
session: Session;
|
||||
session?: Session;
|
||||
sessionID?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user