diff --git a/src/providers/google.ts b/src/providers/google.ts index a85128c..83e3faf 100644 --- a/src/providers/google.ts +++ b/src/providers/google.ts @@ -28,7 +28,11 @@ const defaultConfig: Partial = { profileUrl: "https://openidconnect.googleapis.com/v1/userinfo", }; -export class GoogleOAuth2Provider extends OAuth2Provider { +export class GoogleOAuth2Provider extends OAuth2Provider< + GoogleProfile, + GoogleTokens, + GoogleOAuth2ProviderConfig +> { constructor(config: GoogleOAuth2ProviderConfig) { super({ ...defaultConfig, diff --git a/src/providers/twitter.ts b/src/providers/twitter.ts index 83b3ac0..b6a5696 100644 --- a/src/providers/twitter.ts +++ b/src/providers/twitter.ts @@ -12,7 +12,7 @@ const defaultConfig: Partial = { id: "twitter", }; -export class TwitterAuthProvider extends OAuth2BaseProvider { +export class TwitterAuthProvider extends OAuth2BaseProvider { constructor(config: TwitterAuthProviderConfig) { super({ ...defaultConfig,