Files
xrpl-hooks-ide/types/next-auth.d.ts
2022-08-17 11:50:49 +05:30

14 lines
292 B
TypeScript

import NextAuth, { User } from 'next-auth'
declare module 'next-auth' {
/**
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
*/
interface Session {
user: User & {
username: string
}
accessToken?: string
}
}