diff --git a/src/languageHandler.tsx b/src/languageHandler.tsx index 14f611b138c..937a6c18670 100644 --- a/src/languageHandler.tsx +++ b/src/languageHandler.tsx @@ -438,6 +438,7 @@ export function replaceByRegexes(text: string, mapping: IVariables | Tags): stri if (shouldWrapInSpan) { return React.createElement("span", null, ...(output as Array)); } else { + // eslint-disable-next-line @typescript-eslint/no-base-to-string return output.join(""); } }