(type)
| 57066 | return false; |
| 57067 | } |
| 57068 | function isConstructorType(type) { |
| 57069 | if (getSignaturesOfType(type, 1 /* SignatureKind.Construct */).length > 0) { |
| 57070 | return true; |
| 57071 | } |
| 57072 | if (type.flags & 8650752 /* TypeFlags.TypeVariable */) { |
| 57073 | var constraint = getBaseConstraintOfType(type); |
| 57074 | return !!constraint && isMixinConstructorType(constraint); |
| 57075 | } |
| 57076 | return false; |
| 57077 | } |
| 57078 | function getBaseTypeNodeOfClass(type) { |
| 57079 | var decl = ts.getClassLikeDeclarationOfSymbol(type.symbol); |
| 57080 | return decl && ts.getEffectiveBaseTypeNode(decl); |
no test coverage detected
searching dependent graphs…