2023-06-16 12:03:09 -04:00
|
|
|
import NextAuth, { DefaultSession } from 'next-auth'
|
|
|
|
|
|
2023-06-16 11:49:14 -04:00
|
|
|
declare module 'next-auth' {
|
2023-06-16 12:03:09 -04:00
|
|
|
/**
|
|
|
|
|
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
|
|
|
|
|
*/
|
2023-06-16 11:49:14 -04:00
|
|
|
interface Session {
|
|
|
|
|
user: {
|
2023-06-16 12:03:09 -04:00
|
|
|
/** The user's postal address. */
|
|
|
|
|
address: string
|
|
|
|
|
} & DefaultSession['user']
|
2023-06-16 11:49:14 -04:00
|
|
|
}
|
|
|
|
|
}
|