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 );