Answer the question
In order to leave comments, you need to log in
How to get rid of experimentalDecorators warning in VSCode?
In tsconfig.json, which is located at the root of the project, the experimentalDecorators option is set to true. Everything compiles as it should, without errors.
But in the Visual Studio Code environment itself (I have the latest version at the moment - 1.3.1), linter displays this error hint on every class name that uses decorators:
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
Answer the question
In order to leave comments, you need to log in
I fixed this issue by changing "typescript.tsserver.experimentalAutoBuild" setting to true
VSCode Version 1.5.3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question