We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca4312 commit bc5d591Copy full SHA for bc5d591
src/useWatch.ts
@@ -93,8 +93,8 @@ function useWatch<TForm extends FormInstance>(
93
form?: TForm | WatchOptions<TForm>,
94
): any;
95
96
-function useWatch<ValueType = Store>(
97
- dependencies: NamePath<ValueType>,
+function useWatch<ValueType = Store, Values = any>(
+ dependencies: NamePath<Values>,
98
form?: FormInstance | WatchOptions<FormInstance>,
99
): ValueType;
100
0 commit comments