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
TypeScript 3.7 flags the assignment on line 250 because `style.height` must not be `null`.
The underlying reason though appears to be that the comparison checks against `=== undefined`, where the field only declares `null` as an option. The field is not initialized, so `undefined` is the correct value to compare to and type to use.
0 commit comments