Helpful
    Preparing search index...
    • A constraint that forces a property on an object to equal another property on the same object.

      Type Parameters

      • T = any

      Parameters

      • property: keyof T

        The other property to map.

      • Optionaloptions: ValidationOptions

        The validation options.

      Returns (object: any, propertyName: string) => void

      A reflection decorator function that applies the constraint to a property.