1.问题描述
VSCode工具React项目报 [ts] Experimental support for decorators is a feature that is subject to change in
2.解决方法
在文件根目录下创建一个文件名为jsconfig.json的文件,文件内容:

{    
      "complierOptions":{  
            "experimentalDecorators":true    
       }
 }

VSCode工具React项目报 [ts] Experimental support for decorators is a feature that is subject to change in
然后重启VSCode就好了
VSCode工具React项目报 [ts] Experimental support for decorators is a feature that is subject to change in

相关文章:

  • 2021-10-04
  • 2021-12-12
  • 2021-09-01
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
猜你喜欢
  • 2021-07-27
  • 2021-05-09
  • 2021-06-05
  • 2021-04-19
  • 2021-08-21
  • 2021-12-29
相关资源
相似解决方案