middle 2
This commit is contained in:
19
types/next-auth.d.ts
vendored
Normal file
19
types/next-auth.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user