(type)
| 63806 | isContextSensitiveFunctionLikeDeclaration(func); |
| 63807 | } |
| 63808 | function getTypeWithoutSignatures(type) { |
| 63809 | if (type.flags & 524288 /* TypeFlags.Object */) { |
| 63810 | var resolved = resolveStructuredTypeMembers(type); |
| 63811 | if (resolved.constructSignatures.length || resolved.callSignatures.length) { |
| 63812 | var result = createObjectType(16 /* ObjectFlags.Anonymous */, type.symbol); |
| 63813 | result.members = resolved.members; |
| 63814 | result.properties = resolved.properties; |
| 63815 | result.callSignatures = ts.emptyArray; |
| 63816 | result.constructSignatures = ts.emptyArray; |
| 63817 | result.indexInfos = ts.emptyArray; |
| 63818 | return result; |
| 63819 | } |
| 63820 | } |
| 63821 | else if (type.flags & 2097152 /* TypeFlags.Intersection */) { |
| 63822 | return getIntersectionType(ts.map(type.types, getTypeWithoutSignatures)); |
| 63823 | } |
| 63824 | return type; |
| 63825 | } |
| 63826 | // TYPE CHECKING |
| 63827 | function isTypeIdenticalTo(source, target) { |
| 63828 | return isTypeRelatedTo(source, target, identityRelation); |
no test coverage detected
searching dependent graphs…