OneSignal / onesignal-vue3

Vue 3 OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!
Other
19 stars 5 forks source link

[fix](issue#42) Augmented Type Declaration Fix #44

Open cepicdalim opened 1 month ago

cepicdalim commented 1 month ago

Defination Onesignal global type breaks other global types #42

Example Error

TSC gives error due to augmentation is on @vue/runtime-core
"[TYPE]" does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>

Reproducing You can take a look at #42 for more details.

What is changed? "@vue/runtime-core" augmentation changed to "vue" due to vue documentation