Closed WoetDev closed 4 months ago
Apologies!
Looks like this was caching issue locally in my project.
For anyone else that might come across such an error; I'm using Next.js v14.2.4
I had to manually delete my .next
folder locally, after that the local build was working.
Hi
First of all, great work on the package!
I've been using it, but after upgrading to version 0.5.1, all the typechecks that were previously passing started failing and not sure if this was expected behaviour and I need to migrate something or it there's bug/other issue.
I'm receiving the typescript error:
Error: Unsafe argument of type 'any' assigned to a parameter of type 'Xior'. @typescript-eslint/no-unsafe-argument
everywhere.An example of what was working before was that I created an instance:
And then add the type as follows when performing a request:
From the typescript definitions in the project, my guess is that this should still work, but maybe I'm missing that I needed to update something else?