From 61aa64c19cf96f4565c71d735e5b18a80433b597 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 23 Dec 2024 06:43:04 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20update=20retur?= =?UTF-8?q?n=20type=20and=20comment=20in=20GROQEvaluate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/groq.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/groq.ts b/packages/core/src/groq.ts index a4c7133f0..65738d258 100644 --- a/packages/core/src/groq.ts +++ b/packages/core/src/groq.ts @@ -1,9 +1,9 @@ import { parse, evaluate } from "groq-js" /** - * Loads and applies JQ transformation to the input data + * Loads and applies GROQ transformation to the input data * @param input */ -export async function GROQEvaluate(query: string, dataset: any): any { +export async function GROQEvaluate(query: string, dataset: any): Promise { if (dataset === undefined) return dataset const tree = parse(query)