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.
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.6.1
Code
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.
The text was updated successfully, but these errors were encountered: