vue-screen icon indicating copy to clipboard operation
vue-screen copied to clipboard

feat: augment `vue` instead of `@vue/runtime-core`

Open nWacky opened this issue 1 year ago • 0 comments

After vuejs/core#11609 vue supports adding custom properties using declare module 'vue' instead of declare module '@vue/runtime-core'

Having libraries in a project that augment both vue and @vue/runtime-core breaks type checking. More info: Vue TypeScript Changes - nuxt.com/blog

In this PR:

  • replace declare module '@vue/runtime-core' with declare module 'vue'
  • fix install() and VueScreenConfigObject types. Otherwise tests did not pass with No overload matches this call ts error

nWacky avatar Oct 15 '24 10:10 nWacky