(s, p)
| 68445 | return index < lastSourceIndex ? sourceTexts[index] : remainingEndText; |
| 68446 | } |
| 68447 | function addMatch(s, p) { |
| 68448 | var matchType = s === seg ? |
| 68449 | getStringLiteralType(getSourceText(s).slice(pos, p)) : |
| 68450 | getTemplateLiteralType(__spreadArray(__spreadArray([sourceTexts[seg].slice(pos)], sourceTexts.slice(seg + 1, s), true), [getSourceText(s).slice(0, p)], false), sourceTypes.slice(seg, s)); |
| 68451 | matches.push(matchType); |
| 68452 | seg = s; |
| 68453 | pos = p; |
| 68454 | } |
| 68455 | } |
| 68456 | function inferTypes(inferences, originalSource, originalTarget, priority, contravariant) { |
| 68457 | if (priority === void 0) { priority = 0; } |
no test coverage detected
searching dependent graphs…