mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Made strictNullChecks true (#15890)
This commit is contained in:
4
types/seneca/index.d.ts
vendored
4
types/seneca/index.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user