- BelongsTo<SourceKey, Target>(target, optionsOrForeignKey): ((source, associationName) => void)
Type Parameters
- SourceKey extends string
- Target extends Model<any, any>
Returns ((source, associationName) => void)
- (source, associationName): void
Parameters
- source: Model<any, any>
- associationName: string
Returns void