mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-02 01:20:07 +00:00
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:
2
types/passport-facebook/index.d.ts
vendored
2
types/passport-facebook/index.d.ts
vendored
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user