Monday, 29 July 2019

VsCode intelliSense Problem with Sequelize.Model

I have some problems with intelliSense with class Sequelize.Model A lot of methods from Model doesn't linked with IS in vscode after set property Sequelize.Model

With default class

With @property jsdoc Sequelize.Model


 /**
  * @typedef DB
  * 
  * @property {Sequelize} sequelize
  * @property {Sequelize.Model} User
  * @property {Sequelize.Model} Product
  */

/**
 * @type {DB}
 */
const db = {
    ...models,
    sequelize
};
db.User.



from VsCode intelliSense Problem with Sequelize.Model

No comments:

Post a Comment