-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
/
index.ts
97 lines (97 loc) · 1.73 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
export {
ref,
shallowRef,
isRef,
toRef,
toValue,
toRefs,
unref,
proxyRefs,
customRef,
triggerRef,
type Ref,
type MaybeRef,
type MaybeRefOrGetter,
type ToRef,
type ToRefs,
type UnwrapRef,
type ShallowRef,
type ShallowUnwrapRef,
type RefUnwrapBailTypes,
type CustomRefFactory,
} from './ref'
export {
reactive,
readonly,
isReactive,
isReadonly,
isShallow,
isProxy,
shallowReactive,
shallowReadonly,
markRaw,
toRaw,
toReactive,
toReadonly,
type Raw,
type DeepReadonly,
type ShallowReactive,
type UnwrapNestedRefs,
type Reactive,
type ReactiveMarker,
} from './reactive'
export {
computed,
type ComputedRef,
type WritableComputedRef,
type WritableComputedOptions,
type ComputedGetter,
type ComputedSetter,
type ComputedRefImpl,
} from './computed'
export {
effect,
stop,
enableTracking,
pauseTracking,
resetTracking,
onEffectCleanup,
ReactiveEffect,
EffectFlags,
type ReactiveEffectRunner,
type ReactiveEffectOptions,
type EffectScheduler,
type DebuggerOptions,
type DebuggerEvent,
type DebuggerEventExtraInfo,
} from './effect'
export {
trigger,
track,
ITERATE_KEY,
ARRAY_ITERATE_KEY,
MAP_KEY_ITERATE_KEY,
} from './dep'
export {
effectScope,
EffectScope,
getCurrentScope,
onScopeDispose,
} from './effectScope'
export { reactiveReadArray, shallowReadArray } from './arrayInstrumentations'
export { TrackOpTypes, TriggerOpTypes, ReactiveFlags } from './constants'
export {
watch,
getCurrentWatcher,
traverse,
onWatcherCleanup,
WatchErrorCodes,
type WatchOptions,
type WatchScheduler,
type WatchStopHandle,
type WatchHandle,
type WatchEffect,
type WatchSource,
type WatchCallback,
type OnCleanup,
} from './watch'