You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
operators.ts instead of operators.js file showing up on npm install #13788
There should be an operator.js file in the node_modules/sequelize/lib/ folder after installing sequelize.
What is actually happening?
There is an operators.ts file instead of the operator.js file in the node_modules/sequelize/lib/ folder after installing sequelize.
Additional context
Screenshot:
I am unuable to reproduce this locally though. When i git clone the sequelize repo and run npm run build it does spit out an operators.js file as you can see in this screenshot:
Actually you are correct: there is no lib/operators.js anymore. It is part of the dist directory however. I'd suggest to use the exported Op property of the sequelize object
Activity
Switched back to prev version of sequelize cause of this issue: seque…
Darkle commentedon Dec 18, 2021
Ok I think it is showing up now. I have other issues relating to typescript so I will close this.
sdepold commentedon Dec 18, 2021
Actually you are correct: there is no lib/operators.js anymore. It is part of the dist directory however. I'd suggest to use the exported Op property of the sequelize object