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
Just ran into this myself, would be great to see it get in! Thanks for making a PR @reverie, I was about to start working on one myself if I hadn't stumbled across yours.
Edit, thanks @doniyor2019! Wrong credit the first time 馃槃
Just ran into this myself, would be great to see it get in! Thanks for making a PR @reverie, I was about to start working on one myself if I hadn't stumbled across yours
馃殌 Feature request
Current Behavior
setStatus(...)
,status
, andinitialStatus
are all typed asany
. This prevents any typechecking on these values.Desired Behavior
Type checking is available to ensure correctness of
setStatus
arguments, validatestatus
case handling, etc.Suggested Solution
Add a generic type parameter to
Formik
, afterValues
, that is the type of all validstatus
states.Who does this impact? Who is this for?
All typescript users using
status
.The text was updated successfully, but these errors were encountered: