TS6059 reports half-true reason for file being in the program #43679
Labels
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Experience Enhancement
Noncontroversial enhancements
Fix Available
A PR has been opened for this issue
Help Wanted
You can do this
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Bug Report
I am going to take a calculated risk here and skip the 1.5h work of form filling, because this seems to be a really simple issue.
This error message is half-true and misleading:
The claim in the last line is false. There is no '**/*' include pattern specified anywhere in my tsconfig.json. There is no key in my entire tsconfig.json that contains case-insensitive strings "include" or "pattern". There is not a single occurrence of the string '**/*' in my tsconfig.json.
What this means is that the offending value actually comes from defaults, and should be overriden in tsconfig.json by adding an appropriate key.
Expected last line of the error message:
The text was updated successfully, but these errors were encountered: