-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems when trying to use TypeScript #11
Comments
Oh, and I also changed some things in the code to remove other errors.
Honestly, don't know why I had to do this. According to the docs, everything seems correct. |
Thanks for you feedback. Ot is a bug about generating codes, I'll fix it. |
Do you an ETA on the fix? |
Hi @Guergeiro , so sorry I haven't reply your issue. Do you have the problems now? I think there are something wrong with sequelize types, maybe you could add |
That is a solution. I haven't tried anymore since I moved away from using sequelize at all. Using vanilla knexjs for it. |
First, thanks for your script.
I have some problems when trying to incorporate the TS generated by sequelize-automate.
Project structure:
The error I get is on the
sequelize.define()
This happens to all models generated and in both attributes and options. I'm just showing one for the sake of simplicity.
Code
The text was updated successfully, but these errors were encountered: