pretty much as the title says, i have a number of components that use a setInterval() function to change the z-index on a number of child components and to place an overlay on the background. this all works fine, but i get a lot of errors in the terminal stating
89:47 Property '$el' does not exist on type 'SVGElement'. 87 | case 0: 88 | ;((this.$refs.overlay as HTMLElement).style.zIndex = '-1'), 89 | ((this.$refs.comp1 as SVGElement).$el.style.zIndex = '-1'), | ^ 90 | ((this.$refs.comp2 as SVGElement).$el.style.zIndex = '-1') 91 | break
and this error is echoed in vscode with the error:
Property ‘$el’ does not exist on type ‘SVGElement’.Vetur(2339)
besides some other seemingly non-related errors for vetur i didnt discover anything helpful googling the problem. is this a vetur bug or is there something wrongs with this code?