We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue-final-modal: v4.5.4 vue: v3.4.19
Mac
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.
Close slot action should be typesafe.
Typescript compiler throwing error on usage.
The text was updated successfully, but these errors were encountered:
This problem still exists
Sorry, something went wrong.
Just faced the same issue
Hello guys, I had the same issue until I added custom TypeScript definition in custom.d.ts file:
custom.d.ts
declare module 'vue-final-modal';
After that, the error disappeared.
hunterliu1003
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
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:
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.
The text was updated successfully, but these errors were encountered: