TypeScript, pass object to Hooks #13418
Unanswered
MaximoLiberata
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
-
I want pass a object to Hooks operations, for example: pass a User model for afterCreate hook is implemented then save an interaction like "the user 1 updated the category model 2".
I tried to use namespace sequelize and then declare my own variables to Hooks operations, but I couldn't get it.
Beta Was this translation helpful? Give feedback.
All reactions