-
Notifications
You must be signed in to change notification settings - Fork 12.8k
ES6 methods don't work with typescript syntax check #11621
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
Comments
From @m3l7 on October 13, 2016 11:27 the same happens with Promise |
@m3l7 thank you for opening this issue. I have confirmed this happens with the latest bits. This is a language service issue. Moving to that repo. |
The issue here is that the tsconfig.json as listed above includes no files. The include list includes To solve this either:
|
I have logged #11650 to track showing an error message if the compilation included no files. |
sorry for the late reply. |
From @m3l7 on October 11, 2016 14:36
my current tsconfig.json is
let's say I have this:
if I compile the project with tsc --lib es6 or with a gulp task, it works correctly. However, vscode syntax check gives:
Copied from original issue: microsoft/vscode#13514
The text was updated successfully, but these errors were encountered: