title: experimental support for decorators visual studio 2017
body: <p>I have created a .Net Core project with AngularJS in Visual Studio 2017 however when I am trying to create a service, I am getting an error as </p>
  
  <blockquote>
    <p>Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option `to remove this warning.</p>
  </blockquote>
  
  <p>I have checked several links such as editing tsconfig.json following links such as 
  <a href="https://stackoverflow.com/questions/42853086/visual-studio-2017-javascript-how-to-set-experimentaldecorators">link1</a> and <a href="https://stackoverflow.com/questions/38271273/experimental-decorators-warning-in-typescript-compilation">link2</a></p>
  
  <p>Now my tsconfig.json looks like below </p>
  
  <pre><code>    {
    "compileOnSave": false,
    "compilerOptions": {
      "outDir": "./dist/out-tsc",
      "sourceMap": true,
      "declaration": false,
      "moduleResolution": "node",
      "experimentalDecorators": true,
      "allowJs": true,
      "noEmit": true,
      "target": "es5",
      "typeRoots": [
        "node_modules/@types"
      ],
      "lib": [
        "es2017",
        "dom"
      ]
    },
    "include": [
      "app/**/*"
    ],
    "files": [], //add a "files" array (in my case empty)
    "exclude": [
      "node_modules"
    ],
    "typeAcquisition": {
      "enable": true // helps fuel better js intellisense
    }
  }
  </code></pre>
  
  <p>But I still see the error and I am clueless now.</p>
  
  <p><a href="https://i.stack.imgur.com/gdm0a.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gdm0a.png" alt="enter image description here"></a></p>