experimental support for decorators is a feature that is subject to change in a future release angular code example

Example 1: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning

//In the tsconfig.json add this:

"compilerOptions": {
    "experimentalDecorators": true
},

Example 2: Experimental support for decorators is a feature that is subject to change in a future release

In VSCode, Go to File => Preferences => Settings (or Control+comma) and it will open the User Settings file. Add "javascript.implicitProjectConfig.experimentalDecorators": true to the file and it should fix it.