final-form / final-form/react-final-form
feature request) Type change
Open
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### What is the current behavior?
```typescript
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`.
Contributor guide
Assessment
This issue has not been assessed yet.