@internal
(index: number, content: string)
| 454 | |
| 455 | /** @internal */ |
| 456 | insertLeft(index: number, content: string): this { |
| 457 | if (!warned.insertLeft) { |
| 458 | console.warn( |
| 459 | 'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead', |
| 460 | ) |
| 461 | warned.insertLeft = true |
| 462 | } |
| 463 | |
| 464 | return this.appendLeft(index, content) |
| 465 | } |
| 466 | |
| 467 | /** @internal */ |
| 468 | insertRight(index: number, content: string): this { |
nothing calls this directly
no test coverage detected