deepsite / next-auth.d.ts
enzostvs's picture
enzostvs HF Staff
test to fix
5825c28
import "next-auth";
import "next-auth/jwt";
declare module "next-auth" {
interface Session {
accessToken?: string;
user: {
username?: string;
isPro?: boolean;
name?: string | null;
email?: string | null;
image?: string | null;
};
}
interface User {
username?: string;
isPro?: boolean;
}
}
declare module "next-auth/jwt" {
interface JWT {
accessToken?: string;
username?: string;
isPro?: boolean;
}
}