Rename stderr.supportsColor to supportsColorStderr

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-04-17 21:27:33 +12:00
parent 427ea57355
commit 4c8f1ec52b
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC
4 changed files with 14 additions and 12 deletions

2
index.d.ts vendored
View file

@ -401,6 +401,8 @@ This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
declare const chalk: ChalkInstance & ChalkFunction;
export const supportsColor: ColorSupport | false;
export const chalkStderr: typeof chalk & {supportsColor: typeof supportsColor};
export const supportsColorStderr: typeof supportsColor;
export default chalk;