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