diff --git a/src/runtimeContext.ts b/src/runtimeContext.ts index f24c5d4a..15c8eb3b 100644 --- a/src/runtimeContext.ts +++ b/src/runtimeContext.ts @@ -174,7 +174,7 @@ export interface ComponentPublicInstance {} */ export declare interface ComponentInternalInstance { uid: number - // type: ConcreteComponent + type: Record // ConcreteComponent parent: ComponentInternalInstance | null root: ComponentInternalInstance @@ -239,6 +239,7 @@ export function toVue3ComponentInstance( const instance: ComponentInternalInstance = { proxy: vm, update: vm.$forceUpdate, + type: vm.$options, uid: vm._uid, // $emit is defined on prototype and it expected to be bound