Просмотр исходного кода

chore(types): mark more internal component instance properties

Evan You 3 лет назад
Родитель
Сommit
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>
 }