I've to add the following in the settings.json file of vscode to remove the warning.
`"javascript.implicitProjectConfig.experimentalDecorators": true`
VSCode -> Preferences -> Settings
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/gVN7V.png