Fixing build issue.
This commit is contained in:
parent
84f1a95a8b
commit
b3ccca051e
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue