mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 15:25:54 -06:00
Fix linting error
This commit is contained in:
parent
9a23b75f05
commit
7829cbae26
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user