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

32 lines
579 B
TypeScript
Raw Normal View History

2019-08-20 21:38:00 +08:00
export { ref, isRef, toRefs, Ref, UnwrapRef } from './ref'
2019-06-12 00:03:50 +08:00
export {
2019-08-16 21:42:46 +08:00
reactive,
isReactive,
2019-08-23 21:38:32 +08:00
readonly,
isReadonly,
readonlyProps,
2019-06-12 00:03:50 +08:00
toRaw,
2019-08-23 21:38:32 +08:00
markReadonly,
2019-06-12 00:03:50 +08:00
markNonReactive
2019-08-16 21:42:46 +08:00
} from './reactive'
2019-09-07 00:58:31 +08:00
export {
computed,
ComputedRef,
WritableComputedRef,
2019-10-22 01:57:20 +08:00
WritableComputedOptions,
ComputedGetter,
ComputedSetter
2019-09-07 00:58:31 +08:00
} from './computed'
2019-06-12 00:03:50 +08:00
export {
effect,
stop,
2019-09-05 06:20:47 +08:00
pauseTracking,
resumeTracking,
2019-08-27 23:35:22 +08:00
ITERATE_KEY,
2018-11-14 00:03:35 +08:00
ReactiveEffect,
ReactiveEffectOptions,
2018-09-19 23:35:38 +08:00
DebuggerEvent
2018-11-14 00:03:35 +08:00
} from './effect'
2018-09-19 23:35:38 +08:00
export { lock, unlock } from './lock'
2019-06-12 00:03:50 +08:00
export { OperationTypes } from './operations'