Type alias Guard<T>

Guard<T>: ((data: any, state?: {
    errors?: ValidationErrorItem[];
}) => data is T)

Type Parameters

  • T

Type declaration

Generated using TypeDoc