@shopify/react-form
Version:
Manage React forms tersely and safely-typed with no magic using React hooks
7 lines • 420 B
TypeScript
import type { Validator, FieldStates, ErrorValue, ListValidationContext } from '../../../types';
export declare function runValidation<Value, Record extends object>(updateError: (error: ErrorValue) => void, state: {
value: Value;
listItem: FieldStates<Record>;
siblings: FieldStates<Record>[];
}, validators: Validator<Value, ListValidationContext<Record>>[]): ErrorValue;
//# sourceMappingURL=utils.d.ts.map