C
C
coderlex2016-07-18 16:18:23
typescript
coderlex, 2016-07-18 16:18:23

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.

How to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Sadovnikov, 2016-09-28
@coderlex

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 question

Ask a Question

731 491 924 answers to any question