Sequelize typings break w/ TS 4.9 beta #15133
Labels
type: bug
type: typescript
For issues and PRs. Things that involve typescript, such as typings and intellisense.
Issue Creation Checklist
Bug Description
Using TS 4.9's latest beta (
4.9.0-dev.20221015
) and Sequelize6.25.1
, models that useInferAttributes
now produce a type error, whereas they work in earlier TS versions.Reproducible Example
What do you expect to happen?
Code should compile.
What is actually happening?
TS error, highlighting the expression:
Environment
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: