Closed kwegorek closed 3 years ago
I am trying to incorporate connect-session-sequelize into my typescript project. Is there a way to do it? For now, I am getting an error:
Property 'Store' does not exist on type '(options?: { pauseStream: boolean; } | undefined) => any
const SequelizeStore = sequelizeStore(session.Store); <---- err here const sessionStore = new SequelizeStore({ db: db, table: "session", });
Is this related to connect-session-sequelize or rather to my session middleware?
Sorry. I was indeed missing npm i --save-dev @types/express-session.
I am trying to incorporate connect-session-sequelize into my typescript project. Is there a way to do it? For now, I am getting an error:
Property 'Store' does not exist on type '(options?: { pauseStream: boolean; } | undefined) => any
Is this related to connect-session-sequelize or rather to my session middleware?