mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Allow nodeunit definition to compile with strictNullChecks.
This commit is contained in:
2
nodeunit/index.d.ts
vendored
2
nodeunit/index.d.ts
vendored
@@ -57,7 +57,7 @@ export interface ITestGroup {
|
||||
setUp?: (callback: ICallbackFunction) => void;
|
||||
/** The tearDown function is run after each test calls test.done() */
|
||||
tearDown?: (callback: ICallbackFunction) => void;
|
||||
[property: string]: ITestGroup | ITestBody | ((callback: ICallbackFunction) => void);
|
||||
[property: string]: ITestGroup | ITestBody | ((callback: ICallbackFunction) => void) | undefined;
|
||||
}
|
||||
|
||||
export interface ICallbackFunction {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user