first commit
This commit is contained in:
11
next-auth.d.ts
vendored
Normal file
11
next-auth.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import NextAuth from "next-auth";
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user?: {
|
||||
name?: string | null;
|
||||
email?: string | null;
|
||||
role?: "ADMIN" | "USER";
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user