From 02f205529e9108826a2f5bdb4391909cd949bb60 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Tue, 3 Mar 2020 19:49:46 +0100 Subject: [PATCH] add color as mocha option (#42685) --- types/mocha/index.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/types/mocha/index.d.ts b/types/mocha/index.d.ts index b63620f3f0..8acda66560 100644 --- a/types/mocha/index.d.ts +++ b/types/mocha/index.d.ts @@ -2261,9 +2261,16 @@ declare namespace Mocha { /** Enable growl support. */ growl?: boolean; - /** Emit color output. */ + /** + * Emit color output. + * + * @deprecated use `color` instead. + */ useColors?: boolean; + /** Color TTY output from reporter */ + color?: boolean; + /** Use inline diffs rather than +/-. */ inlineDiffs?: boolean;