diff --git a/packages/renderless/types/popconfirm.type.ts b/packages/renderless/types/popconfirm.type.ts index 959334819..f3ee19a97 100644 --- a/packages/renderless/types/popconfirm.type.ts +++ b/packages/renderless/types/popconfirm.type.ts @@ -1,7 +1,7 @@ import type { ExtractPropTypes } from 'vue' import type { popConfirmProps, $constants } from '@/popconfirm/src' import type { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type' -import type { show, hide, confirm, handleEmit } from '../src/popconfirm' +import type { show, hide, confirm, handleEmit, handleDocumentClick } from '../src/popconfirm' export interface IPopconfirmState { isLock: boolean @@ -25,6 +25,7 @@ export interface IPopconfirmApi { hide: ReturnType confirm: ReturnType handleEmit: ReturnType + handleDocumentClick: ReturnType } export type IPopconfirmRenderlessParamUtils = ISharedRenderlessParamUtils