Hi, I hope you're great, I was just working with this and spent almost an hour trying to find why refetchInterval was not working for me, and turns out it was an issue similar to the one in #270, I was doing:
const site = useGetSiteById({ params: { id }, options: { refetchInterval: ... } });
and it took some time to get to the error since there's no TypeScript error for excess properties in configOptions, is it possible to make ts error on these cases?
Happy to help with a PR if you could give me some pointers.
Hi, I hope you're great, I was just working with this and spent almost an hour trying to find why
refetchInterval
was not working for me, and turns out it was an issue similar to the one in #270, I was doing:and it took some time to get to the error since there's no TypeScript error for excess properties in
configOptions
, is it possible to make ts error on these cases?Happy to help with a PR if you could give me some pointers.
Thanks!