react-final-form icon indicating copy to clipboard operation
react-final-form copied to clipboard

feature request) Type change

Open rktyt opened this issue 4 years ago • 0 comments

What is the current behavior?

const { submitError } = useFormState()

Then I got the following lint error.

Unsafe array destructuring of a tuple element with an any value. eslint@typescript-eslint/no-unsafe-assignment

What is the expected behavior?

The type of submitError is unknown.

rktyt avatar Dec 16 '21 12:12 rktyt