Sofiane
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
The answer is here: https://github.com/orgs/react-hook-form/discussions/8622#discussioncomment-4060570
21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
so what's the solution to avoid this error ?
21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
the handleSubmit comes from the useForm() of react-hook-forms
21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
i understood the error but it is not supposed to happend since my onSubmit returns void
21 replies
TTCTheo's Typesafe Cult
•Created by jack on 10/6/2022 in #questions
How to pass TRPC (React Query) refetch() as prop to component in TypeScript?
Just encapsulate it inside another function and type it as () => void
10 replies