rittenhop-dev/versions/5.94.2/node_modules/condense-whitespace/index.d.ts
2024-09-23 19:40:12 -04:00

15 lines
303 B
TypeScript

/**
Remove leading, trailing, and repeated whitespace from a string.
@example
```
import condenseWhitespace = require('condense-whitespace');
condenseWhitespace(' foo bar baz ');
//=> 'foo bar baz'
```
*/
declare function condenseWhitespace(string: string): string;
export = condenseWhitespace;