fix: query partial type

pull/9078/head
Agusti Fernandez Pardo 2022-07-07 18:56:27 +02:00
parent ab78c0b9ec
commit f93cb48d4d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ declare module "next" {
method: string; method: string;
prisma: PrismaClient; prisma: PrismaClient;
session: { user: { id: number } }; session: { user: { id: number } };
query: { [key: string]: string | string[] }; query: Partial<{ [key: string]: string | string[] }>;
isAdmin: boolean; isAdmin: boolean;
} }
} }