@@ -56,11 +56,11 @@ export interface SchedulerJob extends Function {
56
56
allowRecurse ?: boolean
57
57
}
58
58
59
- export type WatchEffect = ( onCleanup : OnCleanup ) => void
59
+ type WatchEffect = ( onCleanup : OnCleanup ) => void
60
60
61
- export type WatchSource < T = any > = Ref < T > | ComputedRef < T > | ( ( ) => T )
61
+ type WatchSource < T = any > = Ref < T > | ComputedRef < T > | ( ( ) => T )
62
62
63
- export type WatchCallback < V = any , OV = any > = (
63
+ type WatchCallback < V = any , OV = any > = (
64
64
value : V ,
65
65
oldValue : OV ,
66
66
onCleanup : OnCleanup ,
@@ -77,7 +77,7 @@ export interface BaseWatchOptions<Immediate = boolean> extends DebuggerOptions {
77
77
handleWarn ?: HandleWarn
78
78
}
79
79
80
- export type WatchStopHandle = ( ) => void
80
+ type WatchStopHandle = ( ) => void
81
81
82
82
export interface WatchInstance extends WatchStopHandle {
83
83
effect ?: ReactiveEffect
@@ -369,7 +369,7 @@ export function traverse(value: unknown, seen?: Set<unknown>) {
369
369
return value
370
370
}
371
371
372
- export function callWithErrorHandling (
372
+ function callWithErrorHandling (
373
373
fn : Function ,
374
374
handleError : HandleError ,
375
375
type : BaseWatchErrorCodes ,
@@ -384,7 +384,7 @@ export function callWithErrorHandling(
384
384
return res
385
385
}
386
386
387
- export function callWithAsyncErrorHandling (
387
+ function callWithAsyncErrorHandling (
388
388
fn : Function | Function [ ] ,
389
389
handleError : HandleError ,
390
390
type : BaseWatchErrorCodes ,
0 commit comments