Experimental support for decorators is a feature that is subject to change in a future release
You have to enable that in compiler options.
Open jsconfig.json
file and set that attribute experimentalDecorators
inside compilerOptions
as true. It will fix your issue.
In your Visual Code Studio go to
File => Preferences => Settings
In the "Search Settings" Type "Experimental Decorators" and Enable its checkbox.