forgot to handle the union type change somewhere in RenderContext

This commit is contained in:
Marc Satkowski 2025-04-09 19:46:08 +02:00
parent bb2596a462
commit 119177b258

View file

@ -14,7 +14,7 @@ class RenderContext {
render(context: string) {
const res = this.cellParser.prepare(context)
if (typeof res === 'string') {
if (typeof res === 'string' || typeof res === 'number') {
return res
}
if (res instanceof HTMLElement) {