]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: improve comments
authorEvan You <evan@vuejs.org>
Sat, 13 Jul 2024 07:40:09 +0000 (15:40 +0800)
committerEvan You <evan@vuejs.org>
Sat, 13 Jul 2024 07:40:09 +0000 (15:40 +0800)
packages/runtime-core/src/vnode.ts

index 7abd45c7fa5004f70511abc6d72a6e7afc7bd1f0..626b288937d795d1a4184db3665f9a2780797d8e 100644 (file)
@@ -92,10 +92,22 @@ export type VNodeRef =
     ) => void)
 
 export type VNodeNormalizedRefAtom = {
+  /**
+   * component instance
+   */
   i: ComponentInternalInstance
+  /**
+   * Actual ref
+   */
   r: VNodeRef
-  k?: string // setup ref key
-  f?: boolean // refInFor marker
+  /**
+   * setup ref key
+   */
+  k?: string
+  /**
+   * refInFor marker
+   */
+  f?: boolean
 }
 
 export type VNodeNormalizedRef =