From 9c26a6eaf332853b981308798d7fbfba408166d3 Mon Sep 17 00:00:00 2001 From: Richard Bateman Date: Thu, 4 Apr 2019 22:42:17 -0600 Subject: [PATCH 1/2] Created feature branch Update_passport_google_oauth From ce348f72e8b6b4bc6491396c48c92f03e7b53d70 Mon Sep 17 00:00:00 2001 From: Richard Bateman Date: Thu, 4 Apr 2019 22:42:44 -0600 Subject: [PATCH 2/2] Fix compile error in typescript 3.4; passport.Strategy is an interface and must be implemented, not extended --- types/passport-google-oauth/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/passport-google-oauth/index.d.ts b/types/passport-google-oauth/index.d.ts index 26ee9888b7..1c3524b16c 100644 --- a/types/passport-google-oauth/index.d.ts +++ b/types/passport-google-oauth/index.d.ts @@ -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: (