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
Or more generally, try harder to infer function literal parameter types from expected type which are unions. The | Unit usecases matters particularly for scala.js where it's not uncommon for a parameter type to be written that way (because Unit corresponds to undefined in scala.js) but I assume that the explicit nulls language feature could run into the same sort of issues.