* Prepends the string with the specified content.
(content: string)
| 827 | * Prepends the string with the specified content. |
| 828 | */ |
| 829 | prepend(content: string): this { |
| 830 | if (typeof content !== 'string') { |
| 831 | throw new MagicStringError(`content must be a string, got ${typeof content}`) |
| 832 | } |
| 833 | |
| 834 | this.intro = content + this.intro |
| 835 | return this |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * 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