Currently in the process of transitioning our application to strictTemplates, we are encountering a multitude of errors, some more significant than others.
As a result, I decided to adjust the strictness of the angular type checker and came across these strictness flags outlined in the documentation.
https://angular.io/guide/template-typecheck#troubleshooting-template-errors
Here are a few examples provided in the documentation:
strictInputTypes: This flag determines whether the assignability of a binding expression to the @Input() field is checked, affecting the inference of directive generic types.
strictInputAccessModifiers: Determines whether access modifiers such as private/protected/readonly are considered when assigning a binding expression to an @Input(). If disabled, access modifiers of the @Input are ignored, with only the type being checked. By default, this option is false, even with strictTemplates set to true.
strictNullInputTypes: This flag determines whether strictNullChecks is applied when checking @Input() bindings (as per strictInputTypes). Disabling this can be beneficial when working with a library not built with strictNullChecks in mind.
[...]
The only unanswered question I had was where to set these flags. Which file should these flags be configured in, and how?
I searched the internet for a solution, but all I found were numerous articles on how to enable --strict and its benefits.