DEV Community

Discussion on: Support for ECMAScript2019 syntax highlight of class privates?

Collapse
 
aimerib profile image
Aimeri Baddouh

Have you tried creating a jsconfig.json with the target set for esnext?

Basically just create a new folder for a project, and then create a new jsconfig.json in that folder with this:
{
"compilerOptions": {
"target": "esnext"
},
"exclude": [
"node_modules"
]
}

I’ll try it myself as soon as I can get access to my computer again, but if it works for you let me know!