Skip to content

Commit 8fcd46b

Browse files
committed
fix(ts): loosen Profile type
1 parent d5d1313 commit 8fcd46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/providers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ interface InternalProviderOptions {
6262
* @see [Email (Passwordless) guide](https://authjs.dev/guides/providers/email)
6363
* @see [Credentials guide](https://authjs.dev/guides/providers/credentials)
6464
*/
65-
export type Provider<P extends Profile = Profile> = (
65+
export type Provider<P extends Profile = any> = (
6666
| ((OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig) &
6767
InternalProviderOptions)
6868
| ((

0 commit comments

Comments
 (0)