fix sequelize update incorrect typings

This commit is contained in:
ataru
2018-04-01 14:11:40 +09:00
parent def3d5d177
commit d01a5c6b1b
+1 -1
View File
@@ -4046,7 +4046,7 @@ declare namespace sequelize {
* elements. The first element is always the number of affected rows, while the second element is the actual
* affected rows (only supported in postgres with `options.returning` true.)
*/
update(values: TAttributes, options: UpdateOptions): Promise<[number, TInstance[]]>;
update(values: TAttributes, options?: UpdateOptions): Promise<[number, TInstance[]]>;
/**
* Run a describe query on the table. The result will be return to the listener as a hash of attributes and