sequelize-auto icon indicating copy to clipboard operation
sequelize-auto copied to clipboard

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

Open hhowe29 opened this issue 2 years ago • 0 comments

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

$ npm run tsc

> [email protected] 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

hhowe29 avatar Mar 11 '23 21:03 hhowe29