mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Added missing optional member to passport (#10142)
This commit is contained in:
committed by
Mohamed Hegazy
parent
8b634d6617
commit
f4f83e39e1
Vendored
+1
-1
@@ -8,6 +8,7 @@
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
authInfo?: any;
|
||||
user?: any;
|
||||
|
||||
// These declarations are merged into express's Request type
|
||||
login(user: any, done: (err: any) => void): void;
|
||||
@@ -89,4 +90,3 @@ declare module 'passport' {
|
||||
}[];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user