Skip to content

Commit de3a611

Browse files
committed
fix(runtime-vapor): export types from reactivity
1 parent f6ce3f9 commit de3a611

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

packages/runtime-vapor/src/index.ts

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
export const version: string = __VERSION__
44
export {
55
// core
6-
type Ref,
7-
type ShallowRef,
8-
type DebuggerEvent,
96
TrackOpTypes,
107
TriggerOpTypes,
118
reactive,
@@ -44,6 +41,34 @@ export {
4441
onWatcherCleanup,
4542
getCurrentWatcher,
4643
} from '@vue/reactivity'
44+
export type {
45+
Ref,
46+
MaybeRef,
47+
MaybeRefOrGetter,
48+
ToRef,
49+
ToRefs,
50+
UnwrapRef,
51+
ShallowRef,
52+
ShallowUnwrapRef,
53+
CustomRefFactory,
54+
ReactiveFlags,
55+
DeepReadonly,
56+
ShallowReactive,
57+
UnwrapNestedRefs,
58+
ComputedRef,
59+
WritableComputedRef,
60+
WritableComputedOptions,
61+
ComputedGetter,
62+
ComputedSetter,
63+
ReactiveEffectRunner,
64+
ReactiveEffectOptions,
65+
EffectScheduler,
66+
DebuggerOptions,
67+
DebuggerEvent,
68+
DebuggerEventExtraInfo,
69+
Raw,
70+
Reactive,
71+
} from '@vue/reactivity'
4772

4873
import { NOOP } from '@vue/shared'
4974
import { warn as _warn } from './warning'

0 commit comments

Comments
 (0)