From d45cbfcdfb6c5e547e54275802ed03ba9af0431d Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 10 Nov 2022 14:11:55 +0800 Subject: [PATCH] chore(types): mark more internal component instance properties --- packages/runtime-core/src/component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 68f10a669b3..939d84e3705 100644 --- a/packages/runtime-core/src/component.ts +++ b/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 }