Revert "Merge pull request #74 from vercel-labs:jp/next-auth"
This reverts commit6051e186b5, reversing changes made to28f62d80cf.
This commit is contained in:
parent
6051e186b5
commit
e9e40d7a08
5 changed files with 44 additions and 26 deletions
13
next-auth.d.ts
vendored
Normal file
13
next-auth.d.ts
vendored
Normal file
|
|
@ -0,0 +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: {
|
||||
/** The user's postal address. */
|
||||
id: string
|
||||
} & DefaultSession['user']
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue