interface Validator {
    [nominalTypeHack]?: {
        type: T;
    };
    (props, propName, componentName, location, propFullName): null | Error;
}

Type Parameters

  • T

  • Parameters

    • props: {
          [key: string]: any;
      }
      • [key: string]: any
    • propName: string
    • componentName: string
    • location: string
    • propFullName: string

    Returns null | Error

Properties

[nominalTypeHack]?: {
    type: T;
}

Type declaration

  • type: T

Generated using TypeDoc