Commit cfcfe62
committed
fix(plugin-sdk): cast inner status fields through unknown in re-export type test
CI check-test-types flagged an overlap mismatch on the StatusSummary['tasks']
shape — the inner TaskRegistrySummary requires { active, terminal, failures,
byStatus, byRuntime } and the test's { total, byScope } literal does not
overlap with that.
The point of this test is type-portability of the OUTER StatusSummary
re-export, not the host-internal nested types (which are locked by their own
tests in src/tasks/* and src/status/*). Cast through unknown for both
host-internal nested fields so the test asserts the public surface without
binding to host-internal shape.1 parent 7013dd3 commit cfcfe62
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
0 commit comments