Merge pull request #17430 from Torhal/sequelize_v3_fixes

Sequelize v3 fixes
This commit is contained in:
Nathan Shively-Sanders
2017-06-23 09:02:09 -07:00
committed by GitHub
+8 -3
View File
@@ -1,6 +1,10 @@
// Type definitions for Sequelize 3.4.1
// Type definitions for Sequelize 3.30.4
// Project: http://sequelizejs.com
// Definitions by: samuelneff <https://github.com/samuelneff>, Peter Harris <https://github.com/codeanimal>, Ivan Drinchev <https://github.com/drinchev>, Nick Mueller <https://github.com/morpheusxaut>
// Definitions by: samuelneff <https://github.com/samuelneff>
// Peter Harris <https://github.com/codeanimal>
// Ivan Drinchev <https://github.com/drinchev>
// Nick Mueller <https://github.com/morpheusxaut>
// James D. Callahan III <https://github.com/torhal>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -3052,7 +3056,8 @@ declare namespace sequelize {
* typesafety, but there is no way to pass the tests if we just remove it.
*/
interface WhereOptions {
[field: string]: string | number | WhereLogic | WhereOptions | col | and | or | WhereGeometryOptions | Array<string | number> | Object;
[field: string]: string | number | WhereLogic | WhereOptions | col | and | or | WhereGeometryOptions | Array<string | number> | object | boolean | null;
}
/**