chatbot-template/index.d.ts
2023-06-16 13:30:27 -04:00

13 lines
334 B
TypeScript

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. */
address: string
} & DefaultSession['user']
}
}