sequelize / sequelize-auto

Automatically generate bare sequelize models from your database.
2.9k stars 527 forks source link

New dialects in sequelize 6.x break the ts build in sequelize-auto #641

Open hhowe29 opened 1 year ago

hhowe29 commented 1 year ago

On 03/11/23, a fresh clone of the repo fails to build with this error

$ npm run tsc

> sequelize-auto@0.8.7 tsc
> tsc

src/dialects/dialects.ts:8:14 - error TS2739: Type 
'{ mssql: DialectOptions; mysql: DialectOptions; mariadb: DialectOptions; postgres: DialectOptions; sqlite: DialectOptions; }' 
is missing the following properties from type <snipped> : db2, snowflake, oracle

8 export const dialects: { [name in Dialect]: DialectOptions } = {

npm list sequelize shows that I pulled in 6.29.3