@@ -4,30 +4,30 @@ import { ModelClassGetter } from '../../model/shared/model-class-getter';
44import { addAssociation } from '../shared/association-service' ;
55
66export function BelongsToMany <
7- TCreationAttributes ,
8- TModelAttributes ,
9- TCreationAttributesThrough ,
10- TModelAttributesThrough
7+ TCreationAttributes extends { } ,
8+ TModelAttributes extends { } ,
9+ TCreationAttributesThrough extends { } ,
10+ TModelAttributesThrough extends { }
1111> (
1212 associatedClassGetter : ModelClassGetter < TCreationAttributes , TModelAttributes > ,
1313 through : ModelClassGetter < TCreationAttributesThrough , TModelAttributesThrough > | string ,
1414 foreignKey ?: string ,
1515 otherKey ?: string
1616) : Function ;
1717export function BelongsToMany <
18- TCreationAttributes ,
19- TModelAttributes ,
20- TCreationAttributesThrough ,
21- TModelAttributesThrough
18+ TCreationAttributes extends { } ,
19+ TModelAttributes extends { } ,
20+ TCreationAttributesThrough extends { } ,
21+ TModelAttributesThrough extends { }
2222> (
2323 associatedClassGetter : ModelClassGetter < TCreationAttributes , TModelAttributes > ,
2424 options : BelongsToManyOptions < TCreationAttributesThrough , TModelAttributesThrough >
2525) : Function ;
2626export function BelongsToMany <
27- TCreationAttributes ,
28- TModelAttributes ,
29- TCreationAttributesThrough ,
30- TModelAttributesThrough
27+ TCreationAttributes extends { } ,
28+ TModelAttributes extends { } ,
29+ TCreationAttributesThrough extends { } ,
30+ TModelAttributesThrough extends { }
3131> (
3232 associatedClassGetter : ModelClassGetter < TCreationAttributes , TModelAttributes > ,
3333 throughOrOptions :
0 commit comments