chatbot-template/next-auth.d.ts

14 lines
329 B
TypeScript
Raw Normal View History

2023-06-21 14:19:13 -07:00
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']
}
}