- VSCode Version: 1.20.1
Commit f88bbf9
Date 2018-02-13T15:31:21.019Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
- OS Version: Ubuntu 16.04 64-bit
Steps to Reproduce:
Create a Typescript project
Write the class declaration, e.g.
export class AuthService {
constructor(private http: Http) {}
}
Experimental support for decorators is a feature that is subject to change in a future release. Set the ‘experimentalDecorators’ option to remove this warning.
I have the following in my > File/preference/user settings in vscode
{
"typescript.tsdk": "node_modules/typescript/lib"
}
Also, in tsconfig.json file in the root directory of my project I have include the following options.
{
"compilerOptions": {
"experimentalDecorators": true,
"allowJs": true
}
}
Does this issue occur when all extensions are disabled?: Yes/No
Yes