nextauth.d.ts 301 B

12345678910111213
  1. /* eslint-disable @typescript-eslint/consistent-type-definitions */
  2. import type { DefaultSession } from "next-auth";
  3. declare module "next-auth" {
  4. interface Session {
  5. user: DefaultSession["user"] & {
  6. id: string;
  7. email: string;
  8. name?: string;
  9. image?: string;
  10. };
  11. }
  12. }