Issue
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?
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
}
Answered By - Sangarllo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.