Added hasMany associations tests + tiny fix

This commit is contained in:
Ali Taheri committed 2015-10-10 14:53:41 +03:30
1 parent 06f98244b4
commit 7fa421d03f
2 files changed
+49 -3

No files matched your search

+1 -1
View File
@@ -605,7 +605,7 @@ declare module "sequelize" {
* @param targets An array of instances or primary key of instances to check.
* @param options The options to use when checking the associations.
*/
(targets?: Array<TInstance | TInstancePrimaryKey>, options?: HasManyHasAssociationsMixinOptions): Promise<boolean>
(targets: Array<TInstance | TInstancePrimaryKey>, options?: HasManyHasAssociationsMixinOptions): Promise<boolean>
}
/**