Files
ef_front/types/next-auth.d.ts

20 lines
354 B
TypeScript
Raw Permalink Normal View History

2025-09-09 00:15:08 +00:00
import { DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
user: {
registerCode?: string | null;
registerCodeDate?: string | null;
} & DefaultSession["user"];
}
}
declare module "next-auth/jwt" {
interface JWT {
registerCode?: string | null;
registerCodeDate?: string | null;
}
}