我已经在我的Vuejs项目中安装了ESLint + Prettier。保存文件会导致漂亮程序抛出以下警告。如果有人能解释一下是什么导致了这个警告,我将不胜感激。About',·query:·{·lang:·$i18n.locale·}·}\"⏎········tag=\"button\"⏎········>About</router-link⏎······`" vuejstrue ex
我有一个使用Typescript的Vuejs (3)项目。在使用$refs时,我尽量避免依赖any类型 const el = (this.$refs['target'] as any).$el 它会触发以下警告: warning Unexpected any.Specify a different type @typescript-eslint/no-explicit-any 你知道我可以使用什么类型而不是任何类型吗?编辑:我不想禁用我的eslint规则