fix(ts): loosen Profile type

This commit is contained in:
Balázs Orbán
2023-06-20 17:15:22 +02:00
parent d5d1313914
commit 8fcd46b0fc

View File

@@ -62,7 +62,7 @@ interface InternalProviderOptions {
* @see [Email (Passwordless) guide](https://authjs.dev/guides/providers/email)
* @see [Credentials guide](https://authjs.dev/guides/providers/credentials)
*/
export type Provider<P extends Profile = Profile> = (
export type Provider<P extends Profile = any> = (
| ((OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig) &
InternalProviderOptions)
| ((