From 03b4f06ce7b722b3085d2d2a7087ddc2161992ee Mon Sep 17 00:00:00 2001 From: Florian Gritsch Date: Sat, 27 Apr 2019 00:50:37 +0200 Subject: [PATCH] Use VerifyFunction ((error: any, user?: any, msg?: VerifyOptions): void ) in OAuth2Strategy instead of (error: any, user?: any) => void (#34850) --- types/passport-google-oauth/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/passport-google-oauth/index.d.ts b/types/passport-google-oauth/index.d.ts index 1c3524b16c..0a748366f2 100644 --- a/types/passport-google-oauth/index.d.ts +++ b/types/passport-google-oauth/index.d.ts @@ -76,7 +76,7 @@ declare class OAuth2Strategy implements passport.Strategy { accessToken: string, refreshToken: string, profile: Profile, - done: (error: any, user?: any) => void + done: VerifyFunction ) => void ); constructor( @@ -86,7 +86,7 @@ declare class OAuth2Strategy implements passport.Strategy { accessToken: string, refreshToken: string, profile: Profile, - done: (error: any, user?: any) => void + done: VerifyFunction ) => void );