From: yang <504575307@qq.com> Date: Mon, 16 Mar 2020 22:41:11 +0000 (+0800) Subject: types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Componen... X-Git-Tag: v3.0.0-alpha.9~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=703c9bc61f951568786e08beaece4f6b3eb60a8a;p=thirdparty%2Fvuejs%2Fcore.git types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Component type (#824) --- diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 0e619b709c..470d4ec4dc 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