chatbot-template/next-auth.d.ts
Jared Palmer e9e40d7a08 Revert "Merge pull request #74 from vercel-labs:jp/next-auth"
This reverts commit 6051e186b5, reversing
changes made to 28f62d80cf.
2023-06-21 14:32:54 -07:00

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