From 81087d667ef43abc71756e1610a496f7094c7ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E8=83=9C=E5=BC=BA?= Date: Sat, 16 Mar 2019 21:27:51 +0800 Subject: [PATCH] use strictNullChecks for uni-app --- types/uni-app/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/uni-app/tsconfig.json b/types/uni-app/tsconfig.json index 51707abb73..9074ebf730 100644 --- a/types/uni-app/tsconfig.json +++ b/types/uni-app/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [