You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classKlass{prop1:{innerNumber:number}|null;setInnerNumber(newInnerNumber:Klass['prop1']['innerNumber']){this.prop1={innerNumber:newInnerNumber}}}//Compile with --strictNullCheck
Expected behavior:
No error.
Actual behavior:
Property innerNumber does not exist on type '{ innerNumber:number;} | null'
Strict null check should not be checked for indexed access operator.