diff --git a/types/mirrorx/index.d.ts b/types/mirrorx/index.d.ts index 1ffcd20925..9cea8531dc 100644 --- a/types/mirrorx/index.d.ts +++ b/types/mirrorx/index.d.ts @@ -124,7 +124,7 @@ declare namespace mirror { interface defaultOptions { initialState?:{}, historyMode?:string, - middlewares:[any], + middlewares:any[], reducers:{}, addEffect(name:string,handler:()=>any):any } diff --git a/types/mirrorx/tsconfig.json b/types/mirrorx/tsconfig.json index c6dab55976..561f5cdab4 100644 --- a/types/mirrorx/tsconfig.json +++ b/types/mirrorx/tsconfig.json @@ -11,7 +11,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react",