add: wip
This commit is contained in:
21
types/next-auth.d.ts
vendored
Normal file
21
types/next-auth.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { DefaultSession } from "next-auth";
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session extends DefaultSession {
|
||||
user: {
|
||||
id: string;
|
||||
name: string;
|
||||
username: string;
|
||||
email: string;
|
||||
image: string;
|
||||
};
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: string;
|
||||
name: string;
|
||||
username: string;
|
||||
email: string;
|
||||
image: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user