Fix compile error in typescript 3.4; passport.Strategy is an interface and must be implemented, not extended

This commit is contained in:
Richard Bateman
2019-04-04 22:42:44 -06:00
parent 9c26a6eaf3
commit ce348f72e8
+1 -1
View File
@@ -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: (