Skip to content

Commit

Permalink
fix(ts): add back DefaultSession types
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 authored Jun 20, 2023
1 parent 2b6159e commit 7c7f0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import NextAuth from 'next-auth'
import NextAuth, { type DefaultSession } from 'next-auth'
import GitHub from 'next-auth/providers/github'

declare module 'next-auth' {
interface Session {
user: {
/** The user's id. */
id: string
}
} & DefaultSession['user']
}
}

Expand Down

0 comments on commit 7c7f0fa

Please sign in to comment.