You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

next-auth.d.ts 468B

1234567891011121314151617181920
  1. import NextAuth from 'next-auth';
  2. import { UserData } from '../utils/interface/userInterface';
  3. declare module 'next-auth' {
  4. /**
  5. * Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
  6. */
  7. interface Session {
  8. user: {
  9. address: string;
  10. address2: string;
  11. city: string;
  12. country: string;
  13. fullName: string;
  14. postcode: string;
  15. email: string;
  16. _id: string;
  17. };
  18. }
  19. }