From a142c0cd2a0f835709e9a3c7aef8ae4175cdca9f Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 16 Jan 2025 15:54:32 +0000 Subject: [PATCH] Fixing build issue. --- packages/frontend-core/src/utils/jsonFormatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend-core/src/utils/jsonFormatter.ts b/packages/frontend-core/src/utils/jsonFormatter.ts index de17426109..9f9af3a3c0 100644 --- a/packages/frontend-core/src/utils/jsonFormatter.ts +++ b/packages/frontend-core/src/utils/jsonFormatter.ts @@ -30,7 +30,7 @@ const entityMap = { function escapeHtml(html: string) { return String(html).replace(/[&<>"'`=]/g, function (s) { - return entityMap[s] + return entityMap[s as keyof typeof entityMap] }) }