Skip to content

Commit

Permalink
fix(ts): revert session callback type changes (#7136)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge authored Apr 3, 2023
1 parent c0bf2f1 commit ec8a343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-auth/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export interface CallbacksOptions<P = Profile, A = Account> {
session: (
params:
| {
session: DefaultSession
session: Session
/** Available when {@link SessionOptions.strategy} is set to `"jwt"` */
token: JWT
/** Available when {@link SessionOptions.strategy} is set to `"database"`. */
Expand Down

1 comment on commit ec8a343

@vercel
Copy link

@vercel vercel bot commented on ec8a343 Apr 3, 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.