Skip to content

Commit 083c1e4

Browse files
committed
fix: typecheck
1 parent a5fe2b0 commit 083c1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/compiler/transforms/transformText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const transformText: NodeTransform = (node, context) => {
3737

3838
if (
3939
node.type === 'JSXElement' &&
40-
!isComponentNode(node) &&
40+
!(isComponentNode(node) as boolean) &&
4141
isAllTextLike(node.children)
4242
) {
4343
processTextLikeContainer(

0 commit comments

Comments
 (0)