Browse Source

build: use strict ts mode

Igor Perzic 1 năm trước cách đây
mục cha
commit
63ad8be43d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tsconfig.json

+ 2 - 1
tsconfig.json

@@ -7,7 +7,8 @@
     "resolveJsonModule": true,
     "noUnusedLocals": false,
     "skipLibCheck": true,
-    "lib": ["DOM"]
+    "lib": ["DOM"],
+    "strict": true,
   },
   "include": ["./src/**/*", "config.ts"]
 }