Closed
Description
Versions
- sequelize: 6.3.4
- sequelize-typescript: 2.0.0-beta.0
- typescript: 3.9.7
I'm submitting a ...
[x] bug report
[ ] feature request
Actual behavior:
Using the relations does not seem to work with that version, getting the error on all relations
node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expected behavior:
The same code is perfectly working on the version 1~ and sequelize 5~
Steps to reproduce:
You can try with the https://github.com/RobinBuschmann/sequelize-typescript-example with configuring both versions
Related code:
insert short code snippets here
Metadata
Metadata
Assignees
Labels
No labels