Question
Angular Ivy strictTemplates true Type 'boolean | null' is not assignable to type 'boolean'
I've updated my app to 9 version. Everything is alright but I've problem with strictTemplates set to true. For instance this code
loaded$: Observable<boolean>
[loaded]="loaded$ | async"
@Input() loaded!: boolean;
I've got the error Type 'boolean | null' is not assignable to type 'boolean'.
This fix the error
@Input() loaded!: boolean | null;
But I cant see the point someone acn explain me, please?