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