Hi, in order to make vue-toasted work as a Vue Plugin with Typescript I had to change the signature of the PluginFunction from never to ToastOptions, otherwise I would not be able to pass options at plugin registration time.
There's probably some other modifications needed, I'll update this PR if I find them.
Hi, in order to make vue-toasted work as a Vue Plugin with Typescript I had to change the signature of the PluginFunction from never to ToastOptions, otherwise I would not be able to pass options at plugin registration time.
There's probably some other modifications needed, I'll update this PR if I find them.