Open
Description
Versions
- sequelize: ^5.21.2
- sequelize-typescript: ^1.0.0
- typescript: ^3.7.2
I'm submitting a ...
[x] bug report
[ ] feature request
Related
Behavior
$set
doesn't accept the save
option described in sequelize documentation (https://sequelize.org/v5/class/lib/associations/belongs-to.js~BelongsTo.html#instance-method-set). The following code produces compilation error:
ModelA.$set('modelB', instanceOfB, { save: false })
It works with // @ts-ignore
so it would be nice to add the save
property to the AssociationActionOptions
interface