Repository navigation
Commit 44ab858
fix(metadata-protocol,objectql,runtime): clear the type-check ratchet drift this card introduced (#8442)
All four new tsc errors are inside test files this PR adds, so they cannot
have existed at the merge base. Fixed rather than ledgered:
- metadata-protocol (+2, TS2352): section 6's fixture inspection cast an
`Error & {...}` straight to `Record<string, unknown>`. Now cast through
`unknown`, which is what the diagnostic itself prescribes.
- objectql / runtime (+1 each, TS2554): `registry.registerObject` takes
`(schema, packageId, ...)`. The one-argument form copied from neighbouring
fixtures is itself part of those packages' frozen TEST_DEBT, so it was not
replicated; both calls now pass a package id.
No DEBT / TEST_DEBT entry was raised. `check:type-check-debt` re-measures 33
entries with none above its recorded number, surplus none.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012WMpuAfA2KSdDjGF6tm1bH1 parent 8169e9a commit 44ab858
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- packages
- metadata-protocol/src
- objectql/src
- runtime/src
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments