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