]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Componen...
authoryang <504575307@qq.com>
Mon, 16 Mar 2020 22:41:11 +0000 (06:41 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 22:41:11 +0000 (18:41 -0400)
packages/runtime-core/src/component.ts

index 0e619b709c9c3c4a257408c25f1188c2fe84c961..470d4ec4dc5364dc4047a5276f4cd6af06b306aa 100644 (file)
@@ -105,7 +105,7 @@ export type RenderFunction = {
 }
 
 export interface ComponentInternalInstance {
-  type: FunctionalComponent | ComponentOptions
+  type: Component
   parent: ComponentInternalInstance | null
   appContext: AppContext
   root: ComponentInternalInstance