This removes the TypeScript errors that are thrown since Vue 3.4.0
I changed the type definition to be the same as in other Plugins (eg. https://github.com/Maronato/vue-toastification), not sure if this is the correct way to deal with this or it will even introduce problems with some functionalities.
For this I have to little knowledge how Vue plugins work exactly, but it fixed my problem and everything seems to work for my application.
This removes the TypeScript errors that are thrown since Vue 3.4.0 I changed the type definition to be the same as in other Plugins (eg. https://github.com/Maronato/vue-toastification), not sure if this is the correct way to deal with this or it will even introduce problems with some functionalities. For this I have to little knowledge how Vue plugins work exactly, but it fixed my problem and everything seems to work for my application.