Skip to content

Add Setting to Enable JavaScript TypeChecking Checking in Implicit Projects By Default #25113

@mjbvz

Description

@mjbvz

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

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjavascriptJavaScript support issuestypescriptTypescript support issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions