mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
forgot to handle the union type change somewhere in RenderContext
This commit is contained in:
parent
bb2596a462
commit
119177b258
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue