You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project it seems that declare module '@vue/runtime-core' { ... } caused me to lose the global type of $t and the others in the template. I'm sorry I can't provide a minimal reproducible example. I couldn't reproduce it in a new project, but in my project once I removed import { useAppKit } from '@reown/appkit/vue' everything worked.
Describe the solution you'd like
I'm currently patching this in another project to declare module 'vue' { ... } to get the types to work properly.
What problem does this new feature solve?
appkit/packages/appkit/src/library/vue/index.ts
Lines 23 to 31 in 405327b
In my project it seems that
declare module '@vue/runtime-core' { ... }
caused me to lose the global type of$t
and the others in the template. I'm sorry I can't provide a minimal reproducible example. I couldn't reproduce it in a new project, but in my project once I removedimport { useAppKit } from '@reown/appkit/vue'
everything worked.Describe the solution you'd like
I'm currently patching this in another project to
declare module 'vue' { ... }
to get the types to work properly.https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties
I'm not sure if changing this will result in losing compatibility with older versions of Vue
The text was updated successfully, but these errors were encountered: