From 703c9bc61f951568786e08beaece4f6b3eb60a8a Mon Sep 17 00:00:00 2001 From: yang <504575307@qq.com> Date: Tue, 17 Mar 2020 06:41:11 +0800 Subject: [PATCH] types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Component type (#824) --- packages/runtime-core/src/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 0e619b709..470d4ec4d 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -105,7 +105,7 @@ export type RenderFunction = { } export interface ComponentInternalInstance { - type: FunctionalComponent | ComponentOptions + type: Component parent: ComponentInternalInstance | null appContext: AppContext root: ComponentInternalInstance