Skip to content

tsconfig + schema + exclude description #5241

@DeanB2015

Description

@DeanB2015

The description in the "exclude" object appears to be inaccurate.
Schema location: http://json.schemastore.org/tsconfig

Problem: Exclude Description
Currently reads: "If no 'files' property is present in a tsconfig.json, but an 'exclude' property is present, the compiler will exclude the files and folders specified in the 'exclude' property.",

Solution: Update wording
The "files" property cannot be used in conjunction with the "exclude" property. If both are specified then the "files" property takes precedence.
Taken from the tsconfig wiki: https://github.com/Microsoft/TypeScript/wiki/tsconfig.json

Metadata

Metadata

Assignees

Labels

DocsThe issue relates to how you learn TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions