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 622e7e5 commit cfcf01eCopy full SHA for cfcf01e
src/api/reactivity-core.md
@@ -384,9 +384,7 @@ Watches one or more reactive data sources and invokes a callback function when t
384
type WatchSource<T> =
385
| Ref<T> // ref
386
| (() => T) // getter
387
- | T extends object
388
- ? T
389
- : never // reactive object
+ | (T extends object ? T : never) // reactive object
390
391
interface WatchOptions extends WatchEffectOptions {
392
immediate?: boolean // default: false
0 commit comments