From 7829cbae26ea1ccf6531c9958746f04b75595399 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Mon, 17 Apr 2017 13:00:45 -0700 Subject: [PATCH] Fix linting error --- src/compiler/checker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 712b77ab335..c5b531337c9 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -411,7 +411,7 @@ namespace ts { let _jsxNamespace: string; let _jsxFactoryEntity: EntityName; - let _jsxElementAttribPropInterfaceSymbol: Symbol; // JSX.ElementAttributesProperty [symbol] + let _jsxElementAttribPropInterfaceSymbol: Symbol; // JSX.ElementAttributesProperty [symbol] let _jsxElementPropertiesName: string; let _jsxElementChildrenPropertyName: string; @@ -13506,7 +13506,7 @@ namespace ts { const propsType = getTypeOfSymbol(propertiesOfJsxElementAttribPropInterface[0]); const propertiesOfProps = propsType && getPropertiesOfType(propsType); if (propertiesOfProps && propertiesOfProps.length === 1) { - _jsxElementChildrenPropertyName = propertiesOfProps[0].name; + _jsxElementChildrenPropertyName = propertiesOfProps[0].name; } } }