I tried using the latest sequelize definition file and had problems in Model.update function:
interface Model<TInstance, TAttributes> extends Hooks<TInstance>, Associations
update( values : TAttributes, options : UpdateOptions ) : Promise<[number, TInstance[]]>;
I think the values argument should be of type string. We can use this function by sending as values only a subset of TAttributes.' What do you think about that?
Thanks in advanced.
please send a pull request. I'll review it.
What about update( values : Partial<TAttributes>, options : UpdateOptions )
Most helpful comment
What about
update( values : Partial<TAttributes>, options : UpdateOptions )