UNPKG

352 BTypeScriptView Raw
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 */
9declare function hasAnsi(input: string): boolean;
10
11export default hasAnsi;