(content: Code)
| 501 | * @param content - The code to remove. |
| 502 | */ |
| 503 | export function remove(content: Code): CodeModification { |
| 504 | return { |
| 505 | from: content, |
| 506 | to: '', |
| 507 | }; |
| 508 | } |
| 509 | |
| 510 | /** |
| 511 | * Create a code modification that changes one piece of code into another. |