فهرست منبع

Merge pull request #8139 from overleaf/ii-typescript-enable-strict-mode

[web] Enable TypeScript strict mode

GitOrigin-RevId: aa159fc5faf11c91382dc2498e8ec84068d5c637
ilkin-overleaf 4 سال پیش
والد
کامیت
865121259a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/web/tsconfig.json

+ 1 - 1
services/web/tsconfig.json

@@ -6,7 +6,7 @@
     //    "checkJs": true /* Report errors in .js files. */,
     "jsx": "preserve" /* Specify JSX code generation */,
     "noEmit": true /* Do not emit outputs. */,
-    //    "strict": true /* Enable all strict type-checking options. */,
+    "strict": true /* Enable all strict type-checking options. */,
     "moduleResolution": "node" /* Specify module resolution strategy */,
     "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
     "skipLibCheck": true /* Skip type checking of declaration files. */,