Files
xrpl-hooks-ide/types/next-auth.d.ts
Valtteri Karesto e96e282d45 Github login
2021-11-19 15:26:22 +02:00

13 lines
293 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;
}
}