@internal
(index: number, content: string)
| 573 | |
| 574 | /** @internal */ |
| 575 | insertLeft(index: number, content: string): this { |
| 576 | if (!warned.insertLeft) { |
| 577 | console.warn( |
| 578 | 'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead', |
| 579 | ) |
| 580 | warned.insertLeft = true |
| 581 | } |
| 582 | |
| 583 | return this.appendLeft(index, content) |
| 584 | } |
| 585 | |
| 586 | /** @internal */ |
| 587 | insertRight(index: number, content: string): this { |
nothing calls this directly
no test coverage detected