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
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.4.0
Code
Expected behavior:
Return type from filter should be string[]
Actual behavior:
Return type from filter is (string | null)[].
I know I can get around this by casting the end result, ala:
But that just feels... bad. I'm guessing something like this is insanely complicated, but I figured I'd put this out there in case it isn't.
The text was updated successfully, but these errors were encountered: