(properties, excludedProperties)
| 66308 | return result; |
| 66309 | } |
| 66310 | function excludeProperties(properties, excludedProperties) { |
| 66311 | if (!excludedProperties || properties.length === 0) |
| 66312 | return properties; |
| 66313 | var result; |
| 66314 | for (var i = 0; i < properties.length; i++) { |
| 66315 | if (!excludedProperties.has(properties[i].escapedName)) { |
| 66316 | if (result) { |
| 66317 | result.push(properties[i]); |
| 66318 | } |
| 66319 | } |
| 66320 | else if (!result) { |
| 66321 | result = properties.slice(0, i); |
| 66322 | } |
| 66323 | } |
| 66324 | return result || properties; |
| 66325 | } |
| 66326 | function isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors, intersectionState) { |
| 66327 | var targetIsOptional = strictNullChecks && !!(ts.getCheckFlags(targetProp) & 48 /* CheckFlags.Partial */); |
| 66328 | var effectiveTarget = addOptionality(getNonMissingTypeOfSymbol(targetProp), /*isProperty*/ false, targetIsOptional); |
no test coverage detected
searching dependent graphs…