diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 1c5f0845b684d..11e0a8d769052 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -19041,7 +19041,7 @@ namespace ts { links.jsxFactoryCall.end = node.end; links.jsxFactoryCall.parent = node.parent; } - const result = getReturnTypeOfSignature(getResolvedSignature(links.jsxFactoryCall)); + const result = getReturnTypeOfSignature(getResolvedSignature(links.jsxFactoryCall)); if (result === errorType) { return getJsxElementTypeAt(node) || errorType; }