If you use VS code you should add this in your settings


"javascript.implicitProjectConfig.experimentalDecorators": true



Step 1.- Open Settings



Step 2. Open settings.json


Step 3. Add your settings




Let me know if this helps.