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