先安装 yarn add @typescript-eslint/parser -D 

然后在.eslintrc配置文件中加入

parserOptions: {
    parser: '@typescript-eslint/parser',
 },

 

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-06-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-10-05
相关资源
相似解决方案