Iot / src /types /next-auth.d.ts
veltrixcode's picture
Upload 74 files
64fa001 verified
Raw History Blame Contribute Delete
281 Bytes
import NextAuth, { DefaultSession } from "next-auth"
declare module "next-auth" {
interface Session {
user: {
id: string
username?: string
} & DefaultSession["user"]
}
interface User {
username?: string | null
}
}