UNPKG

react-hook-form

Version:

Performant, flexible and extensible forms library for React Hooks

4 lines 388 B
declare function markFieldsDirty<T>(data: T, fields?: Record<string, any>): Record<string, any>; export default function getDirtyFields<T>(data: T, formValues: T, dirtyFieldsFromValues?: Record<Extract<keyof T, string>, ReturnType<typeof markFieldsDirty> | boolean>): Record<Extract<keyof T, string>, boolean | Record<string, any>>; export {}; //# sourceMappingURL=getDirtyFields.d.ts.map