Installation
npm install --save @types/has-ansi
Summary
This package contains type definitions for has-ansi (https://github.com/chalk/has-ansi#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi.
index.d.ts
/**
* Check if a string has ANSI escape codes
*/
declare function hasAnsi(input: string): boolean;
export default hasAnsi;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by BendingBender.