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