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
error TS2339: Property 'show' does not exist on type 'Element | Vue | Vue[] | Element[]'
It points to a line like this:
this.$refs['myDialog'].show()
This show is a method implemented in TypeScript using vue-class-component. It is in a class that extends Vue. I located the line in ./types/vue.d.ts here.
I guess it should be modified using generics like this:
Hi all,
I have got an error message like this:
It points to a line like this:
This
show
is a method implemented in TypeScript using vue-class-component. It is in a class that extends Vue. I located the line in ./types/vue.d.ts here.I guess it should be modified using generics like this:
But it doesn't work by just doing that.
Does anyone know how to do it right?
Thanks!
The text was updated successfully, but these errors were encountered: