Skip to content

Commit ec8a343

Browse files
authoredApr 3, 2023
fix(ts): revert session callback type changes (#7136)
Fixes t3-oss/create-t3-app#1328
1 parent c0bf2f1 commit ec8a343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/next-auth/src/core/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export interface CallbacksOptions<P = Profile, A = Account> {
319319
session: (
320320
params:
321321
| {
322-
session: DefaultSession
322+
session: Session
323323
/** Available when {@link SessionOptions.strategy} is set to `"jwt"` */
324324
token: JWT
325325
/** Available when {@link SessionOptions.strategy} is set to `"database"`. */

0 commit comments

Comments
 (0)