Use the typescript+vue project to get a red alert in the vscode editor?

the project has been written in the form of a ts class instead. There is a minor problem.
prompts for such an error in the name of the class or Prop. It looks really uncomfortable

.
Experimental support for decorators is a feature that is subject to change in a future release. Set the "experimentalDecorators" option to remove this warning.

clipboard.png

I follow the usual practice.
both vscode and tsconfig.json set "experimentalDecorators" to true;
it is said that someone has succeeded (but neither seems to be vue+ts), but I still report an error.

does Daniel have any thoughts on this problem?


I also encountered this problem, but I found that this error would not be reported if the directory where tsconfig.json was located was the root of vscode's workspace. Before my directory is like this, root= > client= > tsconfig.json, directly with vscode to open client this directory is not wrong.


ask the same question, has the landlord solved this problem?


the English prompt has been cleared.
the decorator is an experimental feature, and the vscode configuration is as follows:

"javascript.implicitProjectConfig.experimentalDecorators": true

need to restart vscode

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3629d-2c007.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3629d-2c007.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?