Merge pull request #33291 from aecorredor/patch-1

Update sequelize index.d.ts to include uniqueKey option in belongsToMany association
This commit is contained in:
Jesse Trinity
2019-02-25 22:33:01 -08:00
committed by GitHub

View File

@@ -1379,7 +1379,11 @@ declare namespace sequelize {
* Should the join model have timestamps
*/
timestamps?: boolean;
/**
* Belongs-To-Many creates a unique key when primary key is not present on through model. This unique key name can be overridden using uniqueKey option.
*/
uniqueKey?: string;
}
/**