(a, b)
| 142561 | return bestMatch; |
| 142562 | } |
| 142563 | function betterMatch(a, b) { |
| 142564 | return ts.min(a, b, compareMatches); |
| 142565 | } |
| 142566 | function compareMatches(a, b) { |
| 142567 | return a === undefined ? 1 /* Comparison.GreaterThan */ : b === undefined ? -1 /* Comparison.LessThan */ |
| 142568 | : ts.compareValues(a.kind, b.kind) || ts.compareBooleans(!a.isCaseSensitive, !b.isCaseSensitive); |
no test coverage detected