434 B
434 B
Function: stripIndents
▸ stripIndents(strings, ...values): string
Removes indents, which is useful for printing warning and messages.
Example:
stripIndents`
Options:
- option1
- option2
`;
Parameters
| Name | Type |
|---|---|
strings |
TemplateStringsArray |
...values |
any[] |
Returns
string