types / sequelize

The typings for https://github.com/sequelize/sequelize
63 stars 37 forks source link

Model.associations should be an object hash of Association objects #144

Closed smithdalec closed 6 years ago

smithdalec commented 6 years ago

lib/model.d.ts: static associations: any; should be static associations: Association; so we can reference associations directly from the model (useful for passing into IncludeOptions). PR incoming.