(types, type)
| 61115 | return ts.binarySearch(types, type, getTypeId, ts.compareValues) >= 0; |
| 61116 | } |
| 61117 | function insertType(types, type) { |
| 61118 | var index = ts.binarySearch(types, type, getTypeId, ts.compareValues); |
| 61119 | if (index < 0) { |
| 61120 | types.splice(~index, 0, type); |
| 61121 | return true; |
| 61122 | } |
| 61123 | return false; |
| 61124 | } |
| 61125 | function addTypeToUnion(typeSet, includes, type) { |
| 61126 | var flags = type.flags; |
| 61127 | if (flags & 1048576 /* TypeFlags.Union */) { |
no outgoing calls
no test coverage detected
searching dependent graphs…