-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
vue-final-modal: v4.5.4
vue: v3.4.19
OS
Mac
Reproduction Link

Steps to reproduce
Inspired by #430 I tried to implement close action in the default slot but ended up getting the below typescript error:
Property 'close' does not exist on type '((props: { close: () => void; }) => void) | undefined'.ts
The close actions work fine, it's just the typescript issue persisting on usage.
What is Expected?
Close slot action should be typesafe.
What is actually happening?
Typescript compiler throwing error on usage.
itsmepetrov, Flashantik, 4350pChris, Adizbek, 51ck and 3 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working