Skip to content

Commit

Permalink
fix(ts): show user and token in session callback (#9756)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstars1 authored Jan 24, 2024
1 parent 7acac64 commit 62f24f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export interface CallbacksOptions<P = Profile, A = Account> {
/** Available when {@link AuthConfig.session} is set to `strategy: "database"`. */
user: AdapterUser
}
| {
& {
session: Session
/** Available when {@link AuthConfig.session} is set to `strategy: "jwt"` */
token: JWT
Expand Down

0 comments on commit 62f24f5

Please sign in to comment.