In my Vuejs (3) project that uses Typescript, I am working on avoiding the use of the type any
with $refs
:
const el = (this.$refs['target'] as any).$el
This results in a warning message:
warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Do you have any suggestions for a different type I can use instead of any ?
EDIT: I prefer to keep my eslint rule active :)