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