diff --git a/lib/helpers/extendRequest.ts b/lib/helpers/extendRequest.ts index 8ed3ee0571..5ae84596d1 100644 --- a/lib/helpers/extendRequest.ts +++ b/lib/helpers/extendRequest.ts @@ -13,7 +13,7 @@ declare module "next" { method: string; prisma: PrismaClient; session: { user: { id: number } }; - query: { [key: string]: string | string[] }; + query: Partial<{ [key: string]: string | string[] }>; isAdmin: boolean; } }