-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Typescript error with elysia 0.5.8 #1
Comments
Have you try removing node_modules, bun.lockb and reinstall? Restart IDE if need. |
I've tried deleting |
I've restarted the IDE after each fresh install aswell. |
Its happening from the swagger package aswell.... I'm stumped |
I can't seem to be able to replicate it on my end. Can you verify something for me that the fresh install is actually using a fresh install not a cached one:
If the version is matched and you still get some errors, I might need some more information in regard to this problem. What version of the following are you using:
And what OS and version are you running on? |
upgrading to these seems to work then. Not sure what changed but thanks @SaltyAom "dependencies": {
"@elysiajs/cors": "0.5.2",
"@elysiajs/swagger": "0.5.2",
"@tgwf/co2": "0.13.4",
"bun-types": "0.6.7",
"elysia": "0.5.15",
"typescript": "5.0.4"
} |
I'm getting typescript errors when using cors with elysia
The text was updated successfully, but these errors were encountered: