Skip to content

Commit 703c9bc

Browse files
author
yang
authored
types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Component type (#824)
1 parent c450ede commit 703c9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export type RenderFunction = {
105105
}
106106

107107
export interface ComponentInternalInstance {
108-
type: FunctionalComponent | ComponentOptions
108+
type: Component
109109
parent: ComponentInternalInstance | null
110110
appContext: AppContext
111111
root: ComponentInternalInstance

0 commit comments

Comments
 (0)