Skip to content

Commit

Permalink
improve doc of single watch
Browse files Browse the repository at this point in the history
  • Loading branch information
glekner committed Jul 31, 2022
1 parent 5f99fba commit c047847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
defaultValue?: DeepPartial<TFieldValues>,
): FieldPathValues<TFieldValues, TFieldNames>;
/**
* Watch a single field update and used it outside of render.
* Watch and subscribe to a single field used outside of render.
*
* @remarks
* [API](https://react-hook-form.com/api/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
Expand Down

0 comments on commit c047847

Please sign in to comment.