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
It's probably possible to constrain the closure signature if it's defined inside a function call and [edit: this is important] there's no references to it in the enclosing scope, but it's not something that we have at the moment, not for calls to user-defined functions anyway.
example: https://psalm.dev/r/d3ce80c00a
In this scenario,
T
( and therefor$datum
) is known to containarray{foo: string}
The text was updated successfully, but these errors were encountered: