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