Made strictNullChecks true (#15890)

This commit is contained in:
Karoline
2017-04-20 20:53:54 +02:00
committed by Andy
parent a7e9769870
commit c54350e763
2 changed files with 3 additions and 3 deletions

View File

@@ -156,8 +156,8 @@ declare module "seneca" {
type Pattern = string | MinimalPattern;
type GlobalErrorHandler = (error: Error) => void;
type AddCallback = (msg: any, respond: (error: Error, msg: any) => void) => void;
type ActCallback = (error: Error, result: any) => void;
type AddCallback = (msg: any, respond: (error: Error | null, msg?: any) => void) => void;
type ActCallback = (error: Error | null, result?: any) => void;
type CloseCallback = (optional: any, done: (error: Error) => void) => void;
type DatabaseID = string;
type EntitySaveCallback = (error: Error, result: any) => void;

View File

@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"