mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
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:
6
types/sequelize/index.d.ts
vendored
6
types/sequelize/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user