Skip to content
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

javascript validation is not working #4215

Closed
sofianhn opened this issue Mar 15, 2016 · 1 comment
Closed

javascript validation is not working #4215

sofianhn opened this issue Mar 15, 2016 · 1 comment
Assignees

Comments

@sofianhn
Copy link

Steps to Reproduce:

  1. open a new file, add a workspace setting to enable javascript validation "javascript.validate.enable": false
  2. in the file type:
var str = "qrqweqwewqe"; 
str.test(); 

Expected: error under test since test method is not defined on a string.

@egamma
Copy link
Member

egamma commented Mar 15, 2016

open a new file, add a workspace setting to enable javascript validation "javascript.validate.enable": false

Setting validation to false disables the built-in validation.

Even if you set the setting to true you will not get errors. Salsa doesn't report type errors.
Closing as a duplicate of microsoft/TypeScript#6802

@egamma egamma closed this as completed Mar 15, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants