[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
This commit is contained in:
Dmitriy Lazarev 2019-05-30 23:01:00 +05:00 committed by Sheetal Nandi
parent 10b1b74d27
commit d51cebc037

View File

@ -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;