add session to req
parent
1bde5d88c1
commit
1e80a83b1f
|
@ -11,6 +11,8 @@ declare module "next" {
|
||||||
userId: number;
|
userId: number;
|
||||||
method: string;
|
method: string;
|
||||||
query: { [key: string]: string | string[] };
|
query: { [key: string]: string | string[] };
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
session: any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue