UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

21 lines (20 loc) 531 B
import { IValidator } from "./IComponentValidationEnabled"; export interface IFieldValidation { useValidator: IValidator; checkValue: any; rules: Array<(value: any) => boolean | string>; getCheckValue?: () => any; } declare global { namespace VueTsxSupport.JSX { interface Element { } interface ElementClass { } interface ElementAttributesProperty { } interface IntrinsicElements { "omfx-field-validation": IFieldValidation; } } }