mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Add strict TS checking
This commit is contained in:
parent
75cb14f8f0
commit
c0fb272a34
3 changed files with 9 additions and 8 deletions
12
src/mocha.d.ts
vendored
12
src/mocha.d.ts
vendored
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
declare function run(): void;
|
||||
|
||||
declare function suite(name: string, fn: (err?)=>void);
|
||||
declare function test(name: string, fn: (done?: (err?)=>void)=>void);
|
||||
declare function suiteSetup(fn: (done?: (err?)=>void)=>void);
|
||||
declare function suiteTeardown(fn: (done?: (err?)=>void)=>void);
|
||||
declare function setup(fn: (done?: (err?)=>void)=>void);
|
||||
declare function teardown(fn: (done?: (err?)=>void)=>void);
|
||||
declare function suite(name: string, fn: (err?: any)=>void): void;
|
||||
declare function test(name: string, fn: (done: (err?: any)=>void)=>void): void;
|
||||
declare function suiteSetup(fn: (done: (err?: any)=>void)=>void): void;
|
||||
declare function suiteTeardown(fn: (done: (err?: any)=>void)=>void): void;
|
||||
declare function setup(fn: (done: (err?: any)=>void)=>void): void;
|
||||
declare function teardown(fn: (done: (err?: any)=>void)=>void): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue