chore: upgrade next-auth
This commit is contained in:
parent
ffab8267a4
commit
a905555da4
5 changed files with 42 additions and 192 deletions
13
next-auth.d.ts
vendored
13
next-auth.d.ts
vendored
|
|
@ -1,13 +0,0 @@
|
|||
import NextAuth, { DefaultSession } from 'next-auth'
|
||||
|
||||
declare module 'next-auth' {
|
||||
/**
|
||||
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
|
||||
*/
|
||||
interface Session {
|
||||
user: {
|
||||
/** The user's postal address. */
|
||||
id: string
|
||||
} & DefaultSession['user']
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue