(node)
| 421 | } |
| 422 | |
| 423 | function text(node) { |
| 424 | if (node.type === 'text') { |
| 425 | return node.value; |
| 426 | } else { |
| 427 | return node.children.map(c => text(c)).join(''); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | function highlightDiff(code: string) { |
| 432 | let lines = code.split('\n'); |
no outgoing calls
no test coverage detected