Skip to content

Commit

Permalink
fix(ts): loosen Profile type
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Jun 20, 2023
1 parent d5d1313 commit 8fcd46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
| ((
Expand Down

1 comment on commit 8fcd46b

@vercel
Copy link

@vercel vercel bot commented on 8fcd46b Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.