We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MultiWatchSources
1 parent 22f7d96 commit 998dca5Copy full SHA for 998dca5
packages/runtime-core/src/apiWatch.ts
@@ -112,7 +112,7 @@ export function watchSyncEffect(
112
// initial value for watchers to trigger on undefined initial values
113
const INITIAL_WATCHER_VALUE = {}
114
115
-type MultiWatchSources = (WatchSource<unknown> | object)[]
+export type MultiWatchSources = (WatchSource<unknown> | object)[]
116
117
// overload: single source + cb
118
export function watch<T, Immediate extends Readonly<boolean> = false>(
packages/runtime-core/src/index.ts
@@ -224,6 +224,7 @@ export type {
224
Reactive,
225
} from '@vue/reactivity'
226
export type {
227
+ MultiWatchSources,
228
WatchEffect,
229
WatchOptions,
230
WatchOptionsBase,
0 commit comments