-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
target not support ES7 in jsconfig.json file #8495
Comments
From @scottaddie on November 21, 2015 2:54 @welefen Not sure if you noticed or not, but there is experimental support for ES7 decorators. In your jsconfig.json file, use the {
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"experimentalDecorators": true
}
} That seems to be all the ES7 support you get at this time. |
From @felixfbecker on November 21, 2015 17:45 What about |
From @warpdesign on May 5, 2016 9:17 +1 Maybe it has changed since last year and there are new ES7-related options available ? For example new function bind |
moving this to TypeScript from which VS Code gets TS and JS smartness |
Covered by #4692 which is committed but not aligned to a particular Milestone. |
note that ES7 (aka ES 2016) is done. decorators, object literal spread rest, SIMD, async functions etc .. is not part of ES7/ES2016. ES7/ES2016 only has exponentiation operator and array.include. I think what you are look for is |
From @welefen on November 20, 2015 5:48
target not support ES7 in jsconfig.json file
Copied from original issue: microsoft/vscode#311
The text was updated successfully, but these errors were encountered: