Hi all, I have this playground which has some of my code that I have a question about. I am working on a form validation library (never ending quest it seems) and I am using a generic with validator functions but I am not understanding why the argument is not getting typed the way I expect. I think something is off with my mental model.
Line 27, the value param is getting typed as any, but if I comment out line 20, value gets typed as string as I would expect. Is there any way to modify this to have value inferred as string by default?