Helpful
    Preparing search index...
    • A constraint that requires another property to be set in addition to the one this constraint belongs to.

      Type Parameters

      • T = any

      Parameters

      • property: keyof T

        The property to check.

      • Optionaloptions: ValidationOptions

        The validation options.

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

      A decorator that applies the constraint.