How do I fix the errors being reported by VS2015 below?
I am using VS2015 RTM and I've created a very simple angular 2 web app (as seen on angular.io). When I build the solution, I get the following two errors:
I tried to fix this by using a tsconfig.json but with no joy.
I tried to fix this by adding a TypeScriptExperimentalDecorators element the csproj file and setting it to true, but it didn't remove the error.
Any suggestions?
Same issue here. Found this workaround:
<TypeScriptModuleKind>AMD</TypeScriptModuleKind> <TypeScriptEmitDecoratorMetadata>True</TypeScriptEmitDecoratorMetadata> <TypeScriptExperimentalDecorators>True</TypeScriptExperimentalDecorators>
Note: The experimental decorators looks to be enabled only if they are enabled in both the files.
For TS1219 look here: http://dotnetspeak.com/2015/06/angular-2-in-visual-studio-2015-with-typescript
You can set the TypeScriptExperimentalDecorators property to true in the project file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With