Pārlūkot izejas kodu

loosen compiler rules

tigger 2 gadi atpakaļ
vecāks
revīzija
3dca7c3770
1 mainītis faili ar 8 papildinājumiem un 3 dzēšanām
  1. 8 3
      tsconfig.json

+ 8 - 3
tsconfig.json

@@ -5,9 +5,13 @@
     "outDir": "./dist/out-tsc",
     "forceConsistentCasingInFileNames": true,
     "strict": true,
-    "noImplicitOverride": true,
-    "noPropertyAccessFromIndexSignature": true,
-    "noImplicitReturns": true,
+    "strictPropertyInitialization": false,
+    "strictNullChecks": false,
+    "noImplicitOverride": false,
+    "noImplicitAny": false,
+    "noPropertyAccessFromIndexSignature": false,
+    "noImplicitReturns": false,
+    "noUncheckedIndexedAccess": false,
     "noFallthroughCasesInSwitch": true,
     "skipLibCheck": true,
     "esModuleInterop": true,
@@ -19,6 +23,7 @@
     "target": "ES2022",
     "module": "ES2022",
     "useDefineForClassFields": false,
+    "resolveJsonModule": true,
     "lib": [
       "ES2022",
       "dom"