Class Validator<T>

Validates input data against a schema at runtime.

Type Parameters

  • T

Hierarchy

Implements

Constructors

Properties

__exZodifiedSchemata: number[] = []
schema?: ZodType<T, ZodTypeDef, T>

Methods

  • Instantiate a new injectable using the container.

    Type Parameters

    • T

    Parameters

    • target: any
    • Rest ...parameters: any[]

    Returns T