1 | // Type definitions for has-ansi 5.0
|
2 | // Project: https://github.com/chalk/has-ansi#readme
|
3 | // Definitions by: BendingBender <https://github.com/BendingBender>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /**
|
7 | * Check if a string has ANSI escape codes
|
8 | */
|
9 | declare function hasAnsi(input: string): boolean;
|
10 |
|
11 | export default hasAnsi;
|