Closed
Description
What cheatsheet is this about? (if applicable)
Basic cheatsheet
What's your issue or idea?
The useFetch
hook as listed on the cheatsheet has an issue where the catch(error){}
is unhappy because within the catch clause, it is of type unknown
.
(If applicable) Reproduction of issue in TypeScript Playground
Yes