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
node_modules/sequelize-typescript/dist/model/model/model.d.ts:7:131 - error TS2344: Type 'TModelAttributes' does not satisfy the constraint '{}'.
7 export declare type ModelType<TCreationAttributes, TModelAttributes> = new (values?: TCreationAttributes, options?: any) => Model<TModelAttributes, TCreationAttributes>;
~~~~~~~~~~~~~~~~
node_modules/sequelize-typescript/dist/model/model/model.d.ts:7:52
7 export declare type ModelType<TCreationAttributes, TModelAttributes> = new (values?: TCreationAttributes, options?: any) => Model<TModelAttributes, TCreationAttributes>;
~~~~~~~~~~~~~~~~
This type parameter might need an `extends {}` constraint.
Found 1 error in node_modules/sequelize-typescript/dist/model/model/model.d.ts:7
The text was updated successfully, but these errors were encountered:
Getting compiler error with latest versions of typescript, sequelize and sequelize-typescript:
typescript
:4.8.4
sequelize
:6.23.2
sequelize-typescript
:2.1.3
The text was updated successfully, but these errors were encountered: