mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +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:
parent
10b1b74d27
commit
d51cebc037
2
types/mocha/index.d.ts
vendored
2
types/mocha/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user