fix: query partial type
parent
ab78c0b9ec
commit
f93cb48d4d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue