What you are doing?
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) {
What do you expect to happen?
I expect queryInterface and Sequelize are properly typed.
What is actually happening?
The two parameters has type any.
In folder node_modules/sequelize-cli, the file types.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
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
queryInterfaceandSequelizeare properly typed.What is actually happening?
The two parameters has type
any.In folder
node_modules/sequelize-cli, the filetypes.d.tsis 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