Closed jakenuts closed 2 years ago
Oh sorry. I only tested the project on Stackblitz and no error was reported.
I use Vite library mode to build this lib. Unfortunately, it doesn't generate Typescript definition files by itself. I fiddled a lot with this but couldn't find a proper solution. I'll take a look at it again.
Any help on this is appreciated.
No worries, also noticed I have strict typescript checking on so I'm undoubtedly more "errors" than I should. Will see if I can resolve it.
I'll take a look at this plugin and see if it solves the problem : https://github.com/qmhc/vite-plugin-dts
It should be fine now.
Installed vue3-promise-dialog in existing webpack/typescript vue app, PromiseDialog is imported fine but there doesn't appear to be a DialogWrapper component exported (at least as far as typescript knows).
import { DialogWrapper } from 'vue3-promise-dialog';