As a sitenote: Sequelize(v5) no longers ships duplicate dependencies 🎉
I noticed however that this package ships tests and stuff so I figured I could fix that.
I also let eslint auto fix all the let/const/arrow conversion.
Lastly: The if(this instanceof ... check is redundant with es6 because class ctors cannot be invoked with new (will error).
As a sitenote: Sequelize(v5) no longers ships duplicate dependencies 🎉
I noticed however that this package ships tests and stuff so I figured I could fix that. I also let
eslint
auto fix all the let/const/arrow conversion. Lastly: Theif(this instanceof ...
check is redundant with es6 because class ctors cannot be invoked with new (will error).