mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
[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:
committed by
Sheetal Nandi
parent
10b1b74d27
commit
d51cebc037
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user