fix(popconfirm): add handleDocumentClick to IPopconfirmApi interface (#3170)

This commit is contained in:
betavs 2025-03-25 09:37:33 +08:00 committed by GitHub
parent 1dd4c1ddef
commit e4fcae211e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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<typeof hide>
confirm: ReturnType<typeof confirm>
handleEmit: ReturnType<typeof handleEmit>
handleDocumentClick: ReturnType<typeof handleDocumentClick>
}
export type IPopconfirmRenderlessParamUtils = ISharedRenderlessParamUtils<IPopconfirmConstants>