(index, content)
| 299 | } |
| 300 | |
| 301 | insertLeft(index, content) { |
| 302 | if (!warned.insertLeft) { |
| 303 | console.warn( |
| 304 | 'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead', |
| 305 | ); |
| 306 | warned.insertLeft = true; |
| 307 | } |
| 308 | |
| 309 | return this.appendLeft(index, content); |
| 310 | } |
| 311 | |
| 312 | insertRight(index, content) { |
| 313 | if (!warned.insertRight) { |
nothing calls this directly
no test coverage detected