@@ -56,11 +56,11 @@ export interface SchedulerJob extends Function {
5656 allowRecurse ?: boolean
5757}
5858
59- export type WatchEffect = ( onCleanup : OnCleanup ) => void
59+ type WatchEffect = ( onCleanup : OnCleanup ) => void
6060
61- export type WatchSource < T = any > = Ref < T > | ComputedRef < T > | ( ( ) => T )
61+ type WatchSource < T = any > = Ref < T > | ComputedRef < T > | ( ( ) => T )
6262
63- export type WatchCallback < V = any , OV = any > = (
63+ type WatchCallback < V = any , OV = any > = (
6464 value : V ,
6565 oldValue : OV ,
6666 onCleanup : OnCleanup ,
@@ -77,7 +77,7 @@ export interface BaseWatchOptions<Immediate = boolean> extends DebuggerOptions {
7777 handleWarn ?: HandleWarn
7878}
7979
80- export type WatchStopHandle = ( ) => void
80+ type WatchStopHandle = ( ) => void
8181
8282export interface WatchInstance extends WatchStopHandle {
8383 effect ?: ReactiveEffect
@@ -369,7 +369,7 @@ export function traverse(value: unknown, seen?: Set<unknown>) {
369369 return value
370370}
371371
372- export function callWithErrorHandling (
372+ function callWithErrorHandling (
373373 fn : Function ,
374374 handleError : HandleError ,
375375 type : BaseWatchErrorCodes ,
@@ -384,7 +384,7 @@ export function callWithErrorHandling(
384384 return res
385385}
386386
387- export function callWithAsyncErrorHandling (
387+ function callWithAsyncErrorHandling (
388388 fn : Function | Function [ ] ,
389389 handleError : HandleError ,
390390 type : BaseWatchErrorCodes ,
0 commit comments