From 3b32d67e6a6fa00dbbacad90669f5509cab716c9 Mon Sep 17 00:00:00 2001 From: Boris Tane Date: Sun, 25 Jun 2023 13:07:16 +0100 Subject: [PATCH] [fix] type of a query should be optional --- src/types/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/query.ts b/src/types/query.ts index 9846bb7..d7a757c 100644 --- a/src/types/query.ts +++ b/src/types/query.ts @@ -37,7 +37,7 @@ type Needle = { }; export type QueryGroupBy = { - type: "string" | "number" | "boolean"; + type?: "string" | "number" | "boolean"; value: string; }