vue-final / vue-final-modal

🍕Vue Final Modal is a tiny, renderless, mobile-friendly, feature-rich modal component for Vue.js.
https://vue-final-modal.org
MIT License
931 stars 99 forks source link

type error for default emits #447

Closed minkoonim closed 4 months ago

minkoonim commented 4 months ago

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.

minkoonim commented 4 months ago

oh man I realized it was my problem closed.

beyto1974 commented 1 month ago

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