diff --git a/src/model/model/model.ts b/src/model/model/model.ts index 84a733f3..7f2a855b 100644 --- a/src/model/model/model.ts +++ b/src/model/model/model.ts @@ -51,7 +51,7 @@ export abstract class Model(propertyKey: keyof this, instances: R | R[] | string[] | string | number[] | number, options?: AssociationActionOptions): Promise { + $set(propertyKey: keyof this, instances: R | R[] | string[] | string | number[] | number | null, options?: AssociationActionOptions): Promise { return this['set' + capitalize(propertyKey as string)](instances, options); }