Type Parameters

  • T

Implements

  • PipeTransform<T>

Constructors

Properties

Methods

Constructors

Properties

isOptional: boolean
schema: ZodType<T, T>

Methods

  • Method to implement a custom pipe. Called with two parameters

    Parameters

    • value: unknown

      argument before it is received by route handler method

    Returns Promise<undefined | T>