* Prepends the string with the specified content.
(content: string)
| 684 | * Prepends the string with the specified content. |
| 685 | */ |
| 686 | prepend(content: string): this { |
| 687 | if (typeof content !== 'string') { |
| 688 | throw new MagicStringError(`content must be a string, got ${typeof content}`) |
| 689 | } |
| 690 | |
| 691 | this.intro = content + this.intro |
| 692 | return this |
| 693 | } |
| 694 | |
| 695 | /** |
| 696 | * 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