react-final-form
react-final-form copied to clipboard
feature request) Type change
What is the current behavior?
const { submitError } = useFormState()
Then I got the following lint error.
Unsafe array destructuring of a tuple element with an
anyvalue. eslint@typescript-eslint/no-unsafe-assignment
What is the expected behavior?
The type of submitError is unknown.