OneToOne
Callable
Parameters
optionalentity: string | OneToOneOptions<Owner, Target> | (e: Owner) => EntityName<Target>
optionalmappedByOrOptions: (string & keyof Target) | (e: Target) => any | Partial<OneToOneOptions<Owner, Target>>
options: Partial<OneToOneOptions<Owner, Target>> = {}
Returns (target: Partial<any>, propertyName: string) => any
Parameters
target: Partial<any>
propertyName: string
Returns any