Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit f05b3ae

Browse files
committed
chore: improve comments
1 parent 7fb6eb8 commit f05b3ae

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

packages/runtime-core/src/vnode.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,22 @@ export type VNodeRef =
9292
) => void)
9393

9494
export type VNodeNormalizedRefAtom = {
95+
/**
96+
* component instance
97+
*/
9598
i: ComponentInternalInstance
99+
/**
100+
* Actual ref
101+
*/
96102
r: VNodeRef
97-
k?: string // setup ref key
98-
f?: boolean // refInFor marker
103+
/**
104+
* setup ref key
105+
*/
106+
k?: string
107+
/**
108+
* refInFor marker
109+
*/
110+
f?: boolean
99111
}
100112

101113
export type VNodeNormalizedRef =

0 commit comments

Comments
 (0)