vue3-core/packages/reactivity/src/index.ts

76 lines
1.3 KiB
TypeScript
Raw Normal View History

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'
2019-06-12 00:03:50 +08:00
export {
2019-08-16 21:42:46 +08:00
reactive,
2019-08-23 21:38:32 +08:00
readonly,
isReactive,
2019-08-23 21:38:32 +08:00
isReadonly,
2022-01-18 09:17:22 +08:00
isShallow,
isProxy,
shallowReactive,
shallowReadonly,
markRaw,
toRaw,
2023-02-03 09:54:15 +08:00
ReactiveFlags /* @remove */,
type Raw,
type DeepReadonly,
type ShallowReactive,
type UnwrapNestedRefs
2019-08-16 21:42:46 +08:00
} from './reactive'
2019-09-07 00:58:31 +08:00
export {
computed,
type ComputedRef,
type WritableComputedRef,
type WritableComputedOptions,
type ComputedGetter,
type ComputedSetter
2019-09-07 00:58:31 +08:00
} from './computed'
export { deferredComputed } from './deferredComputed'
2019-06-12 00:03:50 +08:00
export {
effect,
stop,
trigger,
track,
enableTracking,
2019-09-05 06:20:47 +08:00
pauseTracking,
resetTracking,
2019-08-27 23:35:22 +08:00
ITERATE_KEY,
2018-11-14 00:03:35 +08:00
ReactiveEffect,
type ReactiveEffectRunner,
type ReactiveEffectOptions,
type EffectScheduler,
type DebuggerOptions,
type DebuggerEvent,
type DebuggerEventExtraInfo
2018-11-14 00:03:35 +08:00
} from './effect'
export {
effectScope,
EffectScope,
getCurrentScope,
onScopeDispose
} from './effectScope'
2023-02-03 09:54:15 +08:00
export {
TrackOpTypes /* @remove */,
TriggerOpTypes /* @remove */
} from './operations'