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 76b9451 commit e9499f9Copy full SHA for e9499f9
src/content/docs/useform/watch.mdx
@@ -12,8 +12,8 @@ This method will watch specified inputs and return their values. It is useful to
12
13
This function mainly serves **two purposes**:
14
15
-- <TypeText>`watch(name: string, defaultValue?): unknown`</TypeText>
16
-- <TypeText>`watch(names: string[], defaultValue?): {[key:string]: unknown}`</TypeText>
+- <TypeText>`watch(name: string, defaultValue?: unknown): unknown`</TypeText>
+- <TypeText>`watch(names: string[], defaultValue?: {[key:string]: unknown}): unknown[]`</TypeText>
17
- <TypeText>`watch(): {[key:string]: unknown}`</TypeText>
18
19
The explanation of each of these four overloads follows below.
0 commit comments