* Prepends the string with the specified content.
(content: string)
| 658 | * Prepends the string with the specified content. |
| 659 | */ |
| 660 | prepend(content: string): this { |
| 661 | if (typeof content !== 'string') { |
| 662 | throw new MagicStringError(`content must be a string, got ${typeof content}`) |
| 663 | } |
| 664 | |
| 665 | this.intro = content + this.intro |
| 666 | return this |
| 667 | } |
| 668 | |
| 669 | /** |
| 670 | * Same as `s.appendLeft(...)`, except that the inserted content will go *before* any previous appends or prepends at index |
nothing calls this directly
no outgoing calls
no test coverage detected