(
context: Context,
linesA: (string | null)[],
linesB: (string | null)[]
)
| 51 | } |
| 52 | |
| 53 | export function getChangesInLines( |
| 54 | context: Context, |
| 55 | linesA: (string | null)[], |
| 56 | linesB: (string | null)[] |
| 57 | ): Array<Change[] | null> { |
| 58 | const changes = []; |
| 59 | for (const [lineA, lineB] of zip(linesA, linesB)) { |
| 60 | changes.push(getChangesInLine(context, lineA ?? null, lineB ?? null)); |
| 61 | } |
| 62 | return changes; |
| 63 | } |
| 64 | |
| 65 | export function highlightChangesInLine( |
| 66 | context: Context, |
no test coverage detected