Closed grefrit closed 10 months ago
it seems that useSWR hook is missing typing for SWR options.
If you try to remove {} here, it works normally. https://github.com/sannajammeh/trpc-swr/blob/bb74ec59a881f97aeb9eca426f6f7d46c2e49875/packages/client/src/createSWRProxyHooks.tsx#L29
{}
Looking into this!
Should be fixed now! Next v2.0.1 is building.
it seems that useSWR hook is missing typing for SWR options.
If you try to remove
{}
here, it works normally. https://github.com/sannajammeh/trpc-swr/blob/bb74ec59a881f97aeb9eca426f6f7d46c2e49875/packages/client/src/createSWRProxyHooks.tsx#L29