mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Use VerifyFunction ((error: any, user?: any, msg?: VerifyOptions): void ) in OAuth2Strategy instead of (error: any, user?: any) => void (#34850)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
39e7075075
commit
03b4f06ce7
+2
-2
@@ -76,7 +76,7 @@ declare class OAuth2Strategy implements passport.Strategy {
|
||||
accessToken: string,
|
||||
refreshToken: string,
|
||||
profile: Profile,
|
||||
done: (error: any, user?: any) => void
|
||||
done: VerifyFunction
|
||||
) => void
|
||||
);
|
||||
constructor(
|
||||
@@ -86,7 +86,7 @@ declare class OAuth2Strategy implements passport.Strategy {
|
||||
accessToken: string,
|
||||
refreshToken: string,
|
||||
profile: Profile,
|
||||
done: (error: any, user?: any) => void
|
||||
done: VerifyFunction
|
||||
) => void
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user