Bug report
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).
Make generic for FormState<FormValues> optional and set default value to AnyObject as it was before update.
export interface FormState<FormValues = AnyObject> {
{
"react": "^16.8.6",
"react-dom": "^16.8.4",
"react-final-form": "^6.1.0",
"final-form": "^4.14.1",
}
+1 ping
Most helpful comment
+1 ping