deepsite / next-auth.d.ts
enzostvs's picture
enzostvs HF Staff
new header
4699c39
Raw
History Blame
355 Bytes
import NextAuth, { DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
accessToken?: string;
isPro?: boolean;
}
interface User {
username?: string;
isPro?: boolean;
}
}
declare module "next-auth/jwt" {
interface JWT {
accessToken?: string;
username?: string;
isPro?: boolean;
}
}