diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index 55b20cecc87dd2..b722277c3fabb9 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -15,10 +15,19 @@ declare var it: { timeout(ms: number); }; +declare function before(action: () => void): void; + +declare function before(action: (done: () => void) => void): void; + +declare function aftet(action: () => void): void; + +declare function after(action: (done: () => void) => void): void; + declare function beforeEach(action: () => void): void; declare function beforeEach(action: (done: () => void) => void): void; declare function afterEach(action: () => void): void; -declare function afterEach(action: (done: () => void) => void): void; \ No newline at end of file +declare function afterEach(action: (done: () => void) => void): void; +