Phil
Explore posts from servers[zod, bun]#openapi async/await doesn't work
This ossue was previously on https://discord.com/channels/1011308539819597844/1012485912409690122/1242558525012709539, but I was advised to open it here.
here is a noob question. Im quite new to TS, bun and Hono with Zod. I cant make sense of why TS is screaming at me in the first line with async
the error reads
I think im returning my result wrong? it works fine, when returning it normally without my DB stuff and async/await
I havent tried running it with that error.. but I kind of want to resolve it first regardless.
10 replies