-
Notifications
You must be signed in to change notification settings - Fork 6
Warning of experimental support for decorators #4
Comments
are you getting this error in VS code? or build time? I believe it has to do with the |
In VS Code (insiders). I don't get this on other projects where I used your https://github.com/AngularClass/angular-starter/blob/master/tsconfig.json |
right, i can confirm it has to do with the lack of |
I don't know if that's right? I use the angular-starter tsconfig.json in our product and we don't get this warning? Let me test what settings from the angular-starter tsconfig.json fix it :) |
in my case it was. The real issue is when you have a file not being included by the tsconfig. This can be from rootDir, excludes, or files. |
I can't replicate it tonight. VS Code has now decided that in
|
In VSCode, Go to File => Preferences => Settings (or Control+comma) and it will open the User Settings file. Add "javascript.implicitProjectConfig.experimentalDecorators": true to the file and it should fix it. It did for me. |
severity: 'Error'
message: 'Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.'
The text was updated successfully, but these errors were encountered: