Skip to content
Myr

fix(jsx): cast awaitedFallback through unknown to fix Deno type check (#5036)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent fab3b13 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/jsx/components.ts+1 added-1 removed
84 unmodified lines
85 // the stringified result, or the original thenable for plain strings.86 return raw(87 fallbackResult,88 (fallbackResult as HtmlEscapedString).callbacks ||89 (awaitedFallback as HtmlEscapedString)?.callbacks89 (awaitedFallback as unknown as HtmlEscapedString)?.callbacks90 )91 }92 }93 })())
169 unmodified lines