mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2024-11-20 19:07:20 +01:00
🏷️ Fix Facebook types
Remove tokens type generic
This commit is contained in:
parent
753047c22c
commit
293aec5320
@ -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)[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user