* Appends the specified content to the end of the string.
(content: string)
| 208 | * Appends the specified content to the end of the string. |
| 209 | */ |
| 210 | append(content: string): this { |
| 211 | if (typeof content !== 'string') { |
| 212 | throw new MagicStringError(`content must be a string, got ${typeof content}`) |
| 213 | } |
| 214 | |
| 215 | this.outro += content |
| 216 | return this |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * Appends the specified content at the index in the original string. |
nothing calls this directly
no outgoing calls
no test coverage detected