Sequelize 7 example gives error "Invalid or unexpected token" #17225
Unanswered
ricklrq
asked this question in
Help & Questions
Replies: 1 comment 1 reply
-
That's the decorator syntax, you currently need a transpiler to use it: https://sequelize.org/docs/v7/models/defining-models/#defining-a-model-1 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tried to run the quick example (https://sequelize.org/docs/v7/), got error.
I am using Javascript.
Beta Was this translation helpful? Give feedback.
All reactions