I’m running into this issue and I’d like to turn off strict mode to get around it.
I’ve modified tsconfig.json
with:
"compilerOptions": { "strict": false,
And also tried:
"compilerOptions": { "noImplicitUseStrict": true,
But no love. Thoughts?
Advertisement
Answer
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 }