From 4a6f552a48cbc1dc4fecbd415368627a45d3b17e Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Tue, 12 May 2020 16:00:23 -0700 Subject: [PATCH] Remove resolveUntypedCall from checkJsxSelfClosingElementDeferred This doesn't cause any tests to fail; I'll see whether it causes user tests to fail. This call is responsible for a 5% slowdown or so. --- src/compiler/checker.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 590efccaa56d1..0f368de3001f3 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -23378,7 +23378,6 @@ namespace ts { function checkJsxSelfClosingElementDeferred(node: JsxSelfClosingElement) { checkJsxOpeningLikeElementOrOpeningFragment(node); - resolveUntypedCall(node); // ensure type arguments and parameters are typechecked, even if there is an arity error } function checkJsxSelfClosingElement(node: JsxSelfClosingElement, _checkMode: CheckMode | undefined): Type {