New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use(swagger()) return error: The last overload gave the following error. #57
Comments
Same issue here. The app compiles and swagger works fine. But the editor is complaining. bun v1.0.7 and bun.lockdb:
|
I think this is somehow a bug of Elysiajs because I have such type complaining while using @elysiajs/jwt and many more plugins. |
I got the same type errors after upgrading Elysia and the plugins. I don't know why. I tried deleting node_modules and purging the Bun cache and reinstalling, but same issue. But if I Maybe resetting the lockfile would help, that's the only thing I can think of that I didn't try. I ended up just moving all the source code over to the newly created project folder, and the issue was "fixed". It smells like some kind of versioning or caching on Bun's side, but I honestly have no clue. |
mouse move to the use(swagger()) return error: The last overload gave the following error.
But still able to access swagger
The text was updated successfully, but these errors were encountered: