From c90b88d701f70de3a72df20a06ee9f72573db41c Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Fri, 9 Oct 2020 17:15:40 +0800 Subject: [PATCH] chore: this enables stricter inference for data properties on `this` --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 8286f8a82..deaedc68a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "ant-design-vue/es/*": ["components/*"] }, "strictNullChecks": false, + "strict": true, "moduleResolution": "node", "esModuleInterop": true, "experimentalDecorators": true, @@ -13,6 +14,7 @@ "noUnusedParameters": true, "noUnusedLocals": true, "noImplicitAny": false, + "module": "esnext", "target": "es6", "lib": ["dom", "es2017"], "skipLibCheck": true,