experimentaldecorators tsconfig angular code example
Example: 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.