Skip to content

Commit 83b31b1

Browse files
chore(types): say inferred any was not compared without --base-any
1 parent 30db4cc commit 83b31b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tooling/type-coverage.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,9 @@ if (baseCounts) {
579579
report +=
580580
changed.length > 0
581581
? `\n#### Changed by this pull request\n\n${header}${changed.map(fileRow).join("\n")}\n`
582-
: "\nThis pull request adds or removes no escape-hatch type or inferred `any`.\n";
582+
: baseAnyCounts
583+
? "\nThis pull request adds or removes no escape-hatch type or inferred `any`.\n"
584+
: "\nThis pull request adds or removes no escape-hatch type. Inferred `any` was not compared, as `--base-any` was not given.\n";
583585

584586
// Where each inferred `any` stands in the files this pull request gave more of them.
585587
const worse = baseAnyCounts

0 commit comments

Comments
 (0)