Fixing build issue.

This commit is contained in:
mike12345567 2025-01-15 17:12:17 +00:00
parent 84f1a95a8b
commit b3ccca051e
1 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@
Helper, Helper,
CaretPositionFn, CaretPositionFn,
InsertAtPositionFn, InsertAtPositionFn,
JSONValue,
} from "@budibase/types" } from "@budibase/types"
import type { CompletionContext } from "@codemirror/autocomplete" import type { CompletionContext } from "@codemirror/autocomplete"
@ -184,7 +185,7 @@
debouncedEval(expression, context, snippets) debouncedEval(expression, context, snippets)
} }
const highlightJSON = (json: object | string) => { const highlightJSON = (json: JSONValue) => {
return JsonFormatter.format(json, { return JsonFormatter.format(json, {
keyColor: "#e06c75", keyColor: "#e06c75",
numberColor: "#e5c07b", numberColor: "#e5c07b",