From b3ccca051efd6be94d7ad448e76c2103367bca07 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 15 Jan 2025 17:12:17 +0000 Subject: [PATCH] Fixing build issue. --- .../builder/src/components/common/bindings/BindingPanel.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/common/bindings/BindingPanel.svelte b/packages/builder/src/components/common/bindings/BindingPanel.svelte index 7c863f4beb..98df69bc06 100644 --- a/packages/builder/src/components/common/bindings/BindingPanel.svelte +++ b/packages/builder/src/components/common/bindings/BindingPanel.svelte @@ -39,6 +39,7 @@ Helper, CaretPositionFn, InsertAtPositionFn, + JSONValue, } from "@budibase/types" import type { CompletionContext } from "@codemirror/autocomplete" @@ -184,7 +185,7 @@ debouncedEval(expression, context, snippets) } - const highlightJSON = (json: object | string) => { + const highlightJSON = (json: JSONValue) => { return JsonFormatter.format(json, { keyColor: "#e06c75", numberColor: "#e5c07b",