You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using typescript with sequelize v6.0.0-beta.5.
Code:
import{Sequelize}from'sequelize';constsequelize=newSequelize('db','username','password',{host: 'localhost',dialect: 'postgres',pool: {max: 5,min: 0,acquire: 30000,idle: 10000}});sequelize.authenticate().then(()=>{console.log('Connection has been established successfully.');}).catch((err: string)=>{console.error('Unable to connect to the database:',err);});exportdefaultsequelize;
Issue Description
It seems bug from: #11973 is not resolved yet.
What are you doing?
I'm using typescript with sequelize
v6.0.0-beta.5
.Code:
What do you expect to happen?
Resolve error.
What is actually happening?
On
tsc --noEmit
i get this error:Environment
Issue Template Checklist
How does this problem relate to dialects?
Would you be willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: