mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Fix compile error in typescript 3.4; passport.Strategy is an interface and must be implemented, not extended
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ interface VerifyFunction {
|
||||
(error: any, user?: any, msg?: VerifyOptions): void;
|
||||
}
|
||||
|
||||
declare class OAuthStrategy extends passport.Strategy {
|
||||
declare class OAuthStrategy implements passport.Strategy {
|
||||
constructor(
|
||||
options: IOAuthStrategyOption,
|
||||
verify: (
|
||||
|
||||
Reference in New Issue
Block a user