Skip to content
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

Deno library types are extremely broken #16

Open
theoparis opened this issue Jan 28, 2022 · 1 comment
Open

Deno library types are extremely broken #16

theoparis opened this issue Jan 28, 2022 · 1 comment

Comments

@theoparis
Copy link

theoparis commented Jan 28, 2022

I tried to use the deno library and it complains a ton about type checking errors - I can't even show them all here...

image

Sadly I can't find a single other deno library that provides openapi schemas 😢

@hastebrot
Copy link

hastebrot commented Apr 15, 2022

it works with deno and vscode using an older version of zod.

/deno/lib/deps.ts needs to import zod from https://deno.land/x/[email protected]/mod.ts.

here's an example project that uses an import_map.json: https://github.com/hastebrot/zod-endpoints-playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants