Skip to content

Commit

Permalink
chore(types): mark more internal component instance properties
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 10, 2022
1 parent 001184e commit d45cbfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/runtime-core/src/component.ts
Expand Up @@ -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

Expand Down Expand Up @@ -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>
}
Expand Down

0 comments on commit d45cbfc

Please sign in to comment.