From a7f9ec00eddee8aefad0e905ee8fa4cb0397037a Mon Sep 17 00:00:00 2001 From: uniqueiniquity Date: Wed, 18 Oct 2017 13:17:07 -0700 Subject: [PATCH] Respond to CR --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index f297dd9253..cc716922be 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -13474,7 +13474,7 @@ namespace ts { undefined; // node.parent is JsxFragment with no attributes if (!jsxAttributes) { - return anyType; // don't check children of a fragment + return undefined; // don't check children of a fragment } // When we trying to resolve JsxOpeningLikeElement as a stateless function element, we will already give its attributes a contextual type