@internal
(index: number, content: string)
| 469 | |
| 470 | /** @internal */ |
| 471 | insertRight(index: number, content: string): this { |
| 472 | if (!warned.insertRight) { |
| 473 | console.warn( |
| 474 | 'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead', |
| 475 | ) |
| 476 | warned.insertRight = true |
| 477 | } |
| 478 | |
| 479 | return this.prependRight(index, content) |
| 480 | } |
| 481 | |
| 482 | /** |
| 483 | * Moves the characters from `start` and `end` to `index`. |
nothing calls this directly
no test coverage detected