File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13293,19 +13293,15 @@ namespace ts {
1329313293 if (spread !== emptyObjectType) {
1329413294 if (attributesArray.length > 0) {
1329513295 spread = getSpreadType(spread, createJsxAttributesType(attributes.symbol, attributesTable));
13296- attributesArray = [];
13297- attributesTable = createMap<Symbol>();
1329813296 }
1329913297 attributesArray = getPropertiesOfType(spread);
1330013298 }
1330113299
1330213300 attributesTable = createMap<Symbol>();
13303- if (attributesArray) {
13304- forEach(attributesArray, (attr) => {
13305- if (!filter || filter(attr)) {
13306- attributesTable.set(attr.name, attr);
13307- }
13308- });
13301+ for (const attr of attributesArray) {
13302+ if (!filter || filter(attr)) {
13303+ attributesTable.set(attr.name, attr);
13304+ }
1330913305 }
1331013306 }
1331113307
You can’t perform that action at this time.
0 commit comments