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

Cannot find module 'openapi-types' or its corresponding type declarations. #340

Closed
danez opened this issue Jan 27, 2021 · 0 comments · Fixed by #342
Closed

Cannot find module 'openapi-types' or its corresponding type declarations. #340

danez opened this issue Jan 27, 2021 · 0 comments · Fixed by #342

Comments

@danez
Copy link
Contributor

danez commented Jan 27, 2021

🐛 Bug Report

When using typescript the following error occurs with version 4.0.0 (because of #333):

node_modules/fastify-swagger/index.d.ts(2,47): error TS2307: Cannot find module 'openapi-types' or its corresponding type declarations.

To Reproduce

Use typescript

Expected behavior

No error

Your Environment

  • node version: 15
  • fastify version: latest
  • os: Mac
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

Successfully merging a pull request may close this issue.

1 participant