With TS 2.3.1, the new checkJS option allows TypeScript to perform some typechecking on javascript files. Users must currently opt into this either by setting checkJS in their jsconfig.json or tsconfig.json, or by adding a // @ts-check comment to the top of their file
Proposal
To make it easier for users to get started with this setting without creating a jsconfig.json, add a new setting called javascript.implicitProjectConfig.checkJS or something similar that opts js files in implicit projects (i.e. those without a jsconfig) into the new type checking logic
With TS 2.3.1, the new
checkJSoption allows TypeScript to perform some typechecking on javascript files. Users must currently opt into this either by settingcheckJSin theirjsconfig.jsonortsconfig.json, or by adding a// @ts-checkcomment to the top of their fileProposal
To make it easier for users to get started with this setting without creating a
jsconfig.json, add a new setting calledjavascript.implicitProjectConfig.checkJSor something similar that opts js files in implicit projects (i.e. those without a jsconfig) into the new type checking logic