Skip to content

Destruct "error" from useSWR throws an error #4179

@gutisalex

Description

@gutisalex

Bug report
Description / Observed Behavior
Destruct "error" from useSWR throws an error:

Unsafe object destructuring of a property with an any value.

It only throws using the ESLint rule typescript-eslint/no-unsafe-assignment...

Expected Behavior
It should be unknown as typescript is recommending it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions