Skip to content

Commit 0169ec4

Browse files
committed
chore: export type "Ref"
1 parent 4fb499a commit 0169ec4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/runtime-vapor/__tests__/apiInject.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// NOTE: This test is implemented based on the case of `runtime-core/__test__/apiInject.spec.ts`.
22

3-
import type { Ref } from '@vue/reactivity' // TODO: export Ref from ../src
43
import {
54
type InjectionKey,
5+
type Ref,
66
createComponent,
77
createTextNode,
88
createVaporApp,

packages/runtime-vapor/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export const version = __VERSION__
44
export {
55
// core
6+
type Ref,
67
reactive,
78
ref,
89
readonly,

0 commit comments

Comments
 (0)