TypeScript, Vue and experimentalDecorators
Have you seen this post ?
Maybe you should try : Go to File => Preferences => Settings (or Control+comma) and it will open the User Settings file. Add "javascript.implicitProjectConfig.experimentalDecorators": true
EDIT :
Ok so in your first exemple you have opened your project in the experiment
directory, but the tsconfig.json is located in a sub directory, the tsconfig must be in the root directory. try to open vscode with dashboard
as the root folder of your vscode project and restart your editor.
As it turns out I had to create jsconfig.json
at the root of the folder where the tsconfig.json
file is and the error in Visual Studio goes away but VSCode still displays the error regardless to the options I've set but this seems like it's a Vetur bug as opposed to a bug in VSCode, TypeScript or a configuration issue.
Opening the Dashboard
folder as opposed to the Src
folder which is the actual root of my project "fixed" the problem in VSCode so I guess that Vetur doesn't pick the tsconfig.json
file when it's nested.