UNPKG

niceform-hook

Version:
4 lines 366 B
import type { FieldValues, RegisterOptions } from "react-hook-form"; import { Field } from "./Field"; export type FieldConfig = Omit<RegisterOptions<FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate" | 'validate' | 'deps'> & Pick<Field, 'active' | 'debounceTime' | 'enableDebounce' | 'validate' | 'input'>; //# sourceMappingURL=FieldConfig.d.ts.map