Browse Source

update 优化 ts检查改为非严格 提高友好型降低开发难度

疯狂的狮子Li 1 year ago
parent
commit
20b7819f11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

@@ -4,7 +4,7 @@
     "module": "esnext",
 //    "useDefineForClassFields": true,
     "moduleResolution": "bundler",
-    "strict": true,
+    "strict": false,
     "jsx": "preserve",
     "sourceMap": true,
     "resolveJsonModule": true,