Home

Published

- 1 min read

disable strict mode angular

img of disable strict mode angular

The solution for this is noted below

disable strict mode angular

Solution

   //Following Angular doc, the strict mode can be
//disabled turning off these flags on tsconfig.json file:

   "forceConsistentCasingInFileNames": false,
   "strict": false,
   "noImplicitReturns": false,
   "noFallthroughCasesInSwitch": false,
   ...
   "angularCompilerOptions": {
      "strictInjectionParameters": false,
      "strictInputAccessModifiers": false,
      "strictTemplates": false
   }

Try other methods by searching on the site. That is if this doesn’t work