mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #24664 from AtaruOhto/master
sequelize: fix: model update method was typed incorrectly
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user