I am currently working on defining my own model interface that extends the Sequelize model instance. However, I am encountering difficulties in referencing the Sequelize interface within my code.
Specifically, I receive an error stating "Cannot find name 'Sequelize'."
/// <reference path="../typings/tsd.d.ts" />
interface IUser extends Sequelize.Instance<TInstance, TPojo> {
I have added Sequelize via tsd install --save.
Am I making a mistake by not importing it even though it is only used for type reference?
Additionally, within sequelize.d.ts:
declare module "sequelize"
{
module Sequelize {
interface Model<TInstance, TPojo> extends Hooks, Associations {