Urara-Blog/node_modules/.pnpm-store/v3/files/bb/5f104feed4516f7ac76bf39d5418e5f767f357e7e789304c480cdcf248733b6667448eaabde7648d84cce5342ddc468bc7d15b6e325352778cc5070c399904
2022-08-14 01:14:53 +08:00

21 lines
410 B
Text

/**
Strip leading whitespace from each line in a string.
The line with the least number of leading whitespace, ignoring empty lines, determines the number to remove.
@example
```
import stripIndent = require('strip-indent');
const string = '\tunicorn\n\t\tcake';
// unicorn
// cake
stripIndent(string);
//unicorn
// cake
```
*/
declare function stripIndent(string: string): string;
export = stripIndent;