add session to req

pull/9078/head
Agusti Fernandez Pardo 2022-06-14 23:57:38 +02:00
parent 1bde5d88c1
commit 1e80a83b1f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}