Quantcast
Viewing all articles
Browse latest Browse all 4830

Decorators and VSCode

@skaterdav85 wrote:

I created a new Ember 3.11 app with Ember CLI 3.11. I’m trying out ES6 classes and decorators for the first time since I saw the example in the 3.11 release post. However, VSCode (which I’m also new to) doesn’t like the decorator syntax. After searching, it seemed like creating a jsconfig.json file with the following should fix it, but it didn’t.

{
  "compilerOptions": {
    "experimentalDecorators": true
  }
}

Anyone have a jsconfig.json file that works?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles