Destruct "error" from useSWR throws an error
Author: gutisalexCreated Nov 7, 2025Updated Aug 7, 2026
Labelsreproduction needed
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
Source: vercel/swr