tbeseda
Types issue in zod-openapi in v0.19.4, .5, & .6 (repro attached)
Still an issue in v0.19.6 -- I updated the reproduction above ☝️ and made it even simpler.
npm test
runs a simple typecheck tsc --noEmit --skipLibCheck main.ts
and it complains with the same error that my response shapes are
Maybe if someone can make that pass with a change to the tsc flags/settings?
It seems strange that others wouldn't have this issue, so I must have too simple of a TS setup. maybe?11 replies
Types issue in zod-openapi in v0.19.4, .5, & .6 (repro attached)
got this down to a minimal reproduction sandbox on Stackblitz
Run
npm run typecheck
to see the error (the editor doesn't immediately show the issue until the file is edited)11 replies
Types issue in zod-openapi in v0.19.4, .5, & .6 (repro attached)
perhaps there's a bug in the fix for this issue 🤔 https://github.com/honojs/middleware/issues/1102
11 replies