vue ts type for current instance
I keep getting a ts error type: Propery Instance does not exist on HTMLElement. I get my element in query selector and then in onmounted I access _instance. what type should I use to stop getting this error? onMounted(() => { const myEl = document.querySelector(‘myHTMLElement’) as HTMLElement nextTick(() => { if (myEl!== null) myEl._instance.exposed(someValue) })… Read More vue ts type for current instance