(content: Code)
| 486 | * @param content - The code to insert. |
| 487 | */ |
| 488 | export function insert(content: Code): CodeModification { |
| 489 | return { |
| 490 | from: '', |
| 491 | to: content, |
| 492 | }; |
| 493 | } |
| 494 | |
| 495 | /** |
| 496 | * Create a code modification that removes a piece of code. |