浏览代码

chore(types): mark more internal component instance properties

Evan You 3 年之前
父节点
当前提交
d45cbfcdfb
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/runtime-core/src/component.ts

+ 4 - 0
packages/runtime-core/src/component.ts

@@ -303,10 +303,12 @@ export interface ComponentInternalInstance {
   inheritAttrs?: boolean
   /**
    * is custom element?
+   * @internal
    */
   isCE?: boolean
   /**
    * custom element specific HMR method
+   * @internal
    */
   ceReload?: (newStyles?: string[]) => void
 
@@ -448,10 +450,12 @@ export interface ComponentInternalInstance {
 
   /**
    * For caching bound $forceUpdate on public proxy access
+   * @internal
    */
   f?: () => void
   /**
    * For caching bound $nextTick on public proxy access
+   * @internal
    */
   n?: () => Promise<void>
 }