(type)
| 61094 | /*readonly*/ false, target.labeledElementDeclarations && target.labeledElementDeclarations.slice(index, endIndex)); |
| 61095 | } |
| 61096 | function getKnownKeysOfTupleType(type) { |
| 61097 | return getUnionType(ts.append(ts.arrayOf(type.target.fixedLength, function (i) { return getStringLiteralType("" + i); }), getIndexType(type.target.readonly ? globalReadonlyArrayType : globalArrayType))); |
| 61098 | } |
| 61099 | // Return count of starting consecutive tuple elements of the given kind(s) |
| 61100 | function getStartElementCount(type, flags) { |
| 61101 | var index = ts.findIndex(type.elementFlags, function (f) { return !(f & flags); }); |
no test coverage detected