Rename stderr.supportsColor to supportsColorStderr
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
427ea57355
commit
4c8f1ec52b
4 changed files with 14 additions and 12 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue