Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
My application has some code like this:
onChange?: (formState: FormState) => void;
So, after FormState definition was updated to have FormValues generic type for values, I have this type of error: Generic type 'FormState<FormValues>' requires 1 type argument(s).
What is the expected behavior?
Make generic for FormState<FormValues> optional and set default value to AnyObject as it was before update.
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
My application has some code like this:
So, after
FormState
definition was updated to haveFormValues
generic type forvalues
, I have this type of error:Generic type 'FormState<FormValues>' requires 1 type argument(s).
What is the expected behavior?
Make generic for
FormState<FormValues>
optional and set default value toAnyObject
as it was before update.What's your environment?