From d51cebc037114391e2a36a45644a7eb990435ee5 Mon Sep 17 00:00:00 2001 From: Dmitriy Lazarev Date: Thu, 30 May 2019 23:01:00 +0500 Subject: [PATCH] [mocha] fix reporter constructor options (#35802) * [mocha] fix reporter constructor options According by https://github.com/mochajs/mocha/blob/master/lib/mocha.js#L811 * [mocha] remove unnecessary `Mocha` qualifier --- types/mocha/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mocha/index.d.ts b/types/mocha/index.d.ts index 5ccf573a07..ef9bdf71a2 100644 --- a/types/mocha/index.d.ts +++ b/types/mocha/index.d.ts @@ -2161,7 +2161,7 @@ declare namespace Mocha { type TestInterface = (suite: Suite) => void; interface ReporterConstructor { - new (runner: Runner, options: { reporterOptions?: any; }): reporters.Base; + new (runner: Runner, options: MochaOptions): reporters.Base; } type Done = (err?: any) => void;