source: trip-planner-front/node_modules/cliui/node_modules/strip-ansi/index.d.ts@ e29cc2e

Last change on this file since e29cc2e was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 349 bytes
Line 
1/**
2Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string.
3
4@example
5```
6import stripAnsi from 'strip-ansi';
7
8stripAnsi('\u001B[4mUnicorn\u001B[0m');
9//=> 'Unicorn'
10
11stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
12//=> 'Click'
13```
14*/
15export default function stripAnsi(string: string): string;
Note: See TracBrowser for help on using the repository browser.