add session to req
This commit is contained in:
@@ -11,6 +11,8 @@ declare module "next" {
|
||||
userId: number;
|
||||
method: string;
|
||||
query: { [key: string]: string | string[] };
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
session: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user