(condition)
| 131121 | var type_1 = typeChecker.getTypeAtLocation(node); |
| 131122 | if (type_1) { |
| 131123 | var test = function (condition) { |
| 131124 | return condition(type_1) || type_1.isUnion() && type_1.types.some(condition); |
| 131125 | }; |
| 131126 | if (typeIdx !== 6 /* TokenType.parameter */ && test(function (t) { return t.getConstructSignatures().length > 0; })) { |
| 131127 | return 0 /* TokenType.class */; |
| 131128 | } |
no test coverage detected
searching dependent graphs…