Skip to content

Commit

Permalink
feat: make session.user.id non-nullable (t3-oss#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ehrlich committed Aug 5, 2022
1 parent b231ae7 commit af4ed74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/addons/next-auth/next-auth.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare module "next-auth" {
*/
interface Session {
user?: {
id?: string;
id: string;
} & DefaultSession["user"];
}
}

0 comments on commit af4ed74

Please sign in to comment.