Update next-auth

This commit is contained in:
Jared Palmer 2023-06-16 12:03:09 -04:00
parent 187b55aad7
commit fef709a21d
6 changed files with 28 additions and 10 deletions

10
next-auth.d.ts vendored
View file

@ -1,7 +1,13 @@
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: {
id: string
}
/** The user's postal address. */
address: string
} & DefaultSession['user']
}
}