import NextAuth from 'next-auth'; import { UserData } from '../utils/interface/userInterface'; declare module 'next-auth' { /** * Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context */ interface Session { user: { address: string; address2: string; city: string; country: string; fullName: string; postcode: string; email: string; _id: string; }; } }