type error for default emits
minkoonim opened this issue · 2 comments
minkoonim commented
Version
vue-final-modal: 4.5.4
vue: 3.4.33
nuxt: 3.12.4
OS
Ubuntu
Reproduction Link
not a runtime bug
Steps to reproduce
open type definition to check "type UseModalOptions" from "Modal.d.ts"


What is Expected? & What is happening?
UseModalOptions<ModalComp>['attrs'] has correct type,
while useModalOptions lacks onClosed and so on.
minkoonim commented
oh man I realized it was my problem closed.
beyto1974 commented
I have the same issue running version 4.5.5. So, the problem is not resolved.