diff --git a/packages/components/popconfirm/src/popconfirm.ts b/packages/components/popconfirm/src/popconfirm.ts index 9186fd6f67..6823ac1096 100644 --- a/packages/components/popconfirm/src/popconfirm.ts +++ b/packages/components/popconfirm/src/popconfirm.ts @@ -3,6 +3,7 @@ import { QuestionFilled } from '@element-plus/icons-vue' import { buildProps, definePropType, iconPropType } from '@element-plus/utils' import { useTooltipContentProps } from '@element-plus/components/tooltip' import type { Component, ExtractPropTypes } from 'vue' +import type Popconfirm from './popconfirm.vue' const popConfirmButtonTypes = [...buttonTypes, 'text'] as const @@ -46,3 +47,5 @@ export const popconfirmProps = buildProps({ persistent: useTooltipContentProps.persistent, } as const) export type PopconfirmProps = ExtractPropTypes + +export type PopconfirmInstance = InstanceType