Create resource TS types fail when using `{ refetching }`
When creating a resource,
the type of
value will be Resource<unknown> instead of Example. However, if we delete the second arg of the fetcher and use the 1 arg version, the return type is inferred correctly.
Now value will correctly be inferred as Resource<Example>. Is this an issue?1 Reply
Was able to fix it by explicitly setting the types,