Added hasMany associations tests + tiny fix

This commit is contained in:
Ali Taheri
2015-10-10 14:53:41 +03:30
parent 06f98244b4
commit 7fa421d03f
2 changed files with 49 additions and 3 deletions
+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>
}
/**