Commit 2ae1667
committed
test(cli): keep the new explain pins free of implicit any
`packages/cli/test/commands.test.ts` sits outside every tsc program in the
repo (the TEST_DEBT ledger records the package), so nothing would have
reported an implicit `any` in the pins added for #14782 — and an implicit
`any` there silently stops the assertion from checking anything.
Measured with an ad-hoc strict pass over the file: origin/main carries 15
errors (13 TS2835 from its extensionless relative imports, 2 TS7006 in the
pre-existing ownership test). The first draft of the pins took that to 18.
With a local `CatalogField` shape and a typed `Object.entries` cast it is
back to exactly the baseline 15 — no new error, and no widening of what
the pins actually assert.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yfqQh2dBgPAymYd7xipza1 parent 37a3a28 commit 2ae1667
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
| |||
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
133 | | - | |
| 140 | + | |
134 | 141 | | |
135 | 142 | | |
136 | 143 | | |
| |||
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
143 | | - | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
147 | 155 | | |
148 | 156 | | |
149 | | - | |
| 157 | + | |
150 | 158 | | |
151 | 159 | | |
152 | 160 | | |
| |||
0 commit comments