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
Trying to get type hint in VS Code and it does not work.
'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { async up(queryInterface, Sequelize) {
I expect queryInterface and Sequelize are properly typed.
queryInterface
Sequelize
The two parameters has type any.
any
In folder node_modules/sequelize-cli, the file types.d.ts is missing. I also checked the download tarbal from npmjs.org.
node_modules/sequelize-cli
types.d.ts
Dialect: any Database version: XXX Sequelize CLI version: 6.5.1 Sequelize version: 6.25.3
The text was updated successfully, but these errors were encountered:
A PR for this is welcome, but this is on our list to fix in the next major release (v7) together with other TypeScript related improvements.
Sorry, something went wrong.
🎉 This issue has been resolved in version 6.5.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
What you are doing?
Trying to get type hint in VS Code and it does not work.
What do you expect to happen?
I expect
queryInterface
andSequelize
are properly typed.What is actually happening?
The two parameters has type
any
.In folder
node_modules/sequelize-cli
, the filetypes.d.ts
is missing.I also checked the download tarbal from npmjs.org.
Dialect: any
Database version: XXX
Sequelize CLI version: 6.5.1
Sequelize version: 6.25.3
The text was updated successfully, but these errors were encountered: