Bad inference when passing a field of a discriminated union as field function instead of arrow function #52798
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Bug Report
π Search Terms
discriminated union function
β― Playground Link
Playground link
π» Code
π Actual behavior
If i pass func as a field function the type inference gets lost
π Expected behavior
It should not matter if the function is passed as an arrow function or as a normal function
The text was updated successfully, but these errors were encountered: