vue-final/vue-final-modal

type error for default emits

minkoonim opened this issue · 2 comments

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"
image
image

What is Expected? & What is happening?

UseModalOptions<ModalComp>['attrs'] has correct type,
while useModalOptions lacks onClosed and so on.

oh man I realized it was my problem closed.

I have the same issue running version 4.5.5. So, the problem is not resolved.