This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8390|Reply: 0

VS Code's experimentalDecorators warning

[Copy link]
Posted on 8/28/2020 9:11:31 PM | | | |
Using VS code When developing an angular project, the following warnings always appear:

Experimental support for decorators is a feature that is subject to change in a future release.
Set the 'experimentalDecorators' option to remove this warning.

My machine is normal, and the remote computer keeps warning. Attach the natively healthy tsconfig.json file code:



The solution on the web is to set the tsconfig.json file as follows:

However, the warning still cannot be removed.

Final Solution:

vs code file -> preferences -> settings, search for experimentalDecorators configuration, tick it, and restart vs code.


Other solutions (not tested):

Create a jsconfig.json file in the project root directory and add the following content:

Once added, it may need to be restarted to take effect.





Previous:NPOI Read Export Demo
Next:.NET/C# Remote Desktop Management Tool [with source code]
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com