Typescript: "include" doesn't accept models #13095
Unanswered
ugurkodak
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
sequelize: 6.5.0
typescript: 4.1.3
include: [Second]
causes this typescript error:If I define an association in the First model I can get rid of this error but I have to write
First.association.second
instead of providing model which actually works if I ignore typescript.Am I missing something or is this working as intended?
Beta Was this translation helpful? Give feedback.
All reactions