Skip to main content

Validate

Callable

  • Validate<T>(validators: ValidationOptions<T> | ValidationOptions<T>[]): (target: any, propertyKey: string) => void

  • Type parameters

    • T

    Parameters

    • validators: ValidationOptions<T> | ValidationOptions<T>[]

    Returns (target: any, propertyKey: string) => void

      • (target: any, propertyKey: string): void
      • Parameters

        • target: any
        • propertyKey: string

        Returns void