🏷️ Fix Facebook types

Remove tokens type generic
This commit is contained in:
Dan6erbond 2021-05-25 09:56:56 +02:00
parent 753047c22c
commit 293aec5320

View File

@ -17,8 +17,8 @@ export interface FacebookTokens {
expires_in: number; expires_in: number;
} }
interface FacebookOAuth2ProviderConfig<ProfileType = FacebookProfile, TokensType = FacebookTokens> interface FacebookOAuth2ProviderConfig<ProfileType = FacebookProfile>
extends OAuth2ProviderConfig<ProfileType, TokensType> { extends OAuth2ProviderConfig<ProfileType, FacebookTokens> {
userProfileFields?: string | (keyof FacebookProfile | string)[]; userProfileFields?: string | (keyof FacebookProfile | string)[];
} }