mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
Vendored
+2
@@ -13,6 +13,7 @@ declare module 'passport-local' {
|
||||
interface IStrategyOptions {
|
||||
usernameField?: string;
|
||||
passwordField?: string;
|
||||
passReqToCallback?: boolean;
|
||||
}
|
||||
|
||||
interface IStrategyOptionsWithRequest {
|
||||
@@ -30,6 +31,7 @@ declare module 'passport-local' {
|
||||
}
|
||||
|
||||
interface VerifyFunction {
|
||||
(req: express.Request, username: string, password: string, done: (error: any, user?: any, options?: IVerifyOptions) => void): void;
|
||||
(username: string, password: string, done: (error: any, user?: any, options?: IVerifyOptions) => void): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user