Add missing null to the type union for WhereOptions index signature, and change Object to object.

This commit is contained in:
James D. Callahan III
2017-06-23 08:39:54 -05:00
parent b7959ad3c2
commit 74a003f706

View File

@@ -3056,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 | null;
}
/**