We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use umzug to run mongodb migrations. I also use typescript in my project. When I try to compile my project I have next error:
umzug
mongodb
node_modules/umzug/lib/storage/sequelize.d.ts:3:65 - error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. 3 import { Sequelize as SequelizeType, Model as ModelClass } from 'sequelize';
node_modules/umzug/lib/storage/sequelize.d.ts:3:65 - error TS2307: Cannot find module 'sequelize' or its corresponding type declarations.
3 import { Sequelize as SequelizeType, Model as ModelClass } from 'sequelize';
Is it possible to use umzug without sequelize with typescript. Maybe I'm missing something.
sequelize
The text was updated successfully, but these errors were encountered:
@olehdevua thanks for the report. This is a bug, should be possible to fix this week. Just to check - are you using v3 beta?
Sorry, something went wrong.
Should definitely be possible.
However, I was not able to reproduce, can you provide a minimal example? @mmkal did you reproduce it?
Yes I was able to reproduce. No problems show up in vscode but when compiling with tsc it errors.
tsc
Successfully merging a pull request may close this issue.
I use
umzug
to runmongodb
migrations. I also use typescript in my project.When I try to compile my project I have next error:
Is it possible to use
umzug
withoutsequelize
with typescript. Maybe I'm missing something.The text was updated successfully, but these errors were encountered: