Merge pull request #34491 from taxilian/feature/Update_passport_facebook

Fix compile error w/ passport-facebook, latest passport typings, typescript 3.4
This commit is contained in:
Benjamin Lichtman
2019-04-11 15:13:02 -07:00
committed by GitHub

View File

@@ -47,7 +47,7 @@ export type VerifyFunction =
export type VerifyFunctionWithRequest =
(req: express.Request, accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void;
export class Strategy extends passport.Strategy {
export class Strategy implements passport.Strategy {
constructor(options: StrategyOptionWithRequest, verify: VerifyFunctionWithRequest);
constructor(options: StrategyOption, verify: VerifyFunction);