128 exported names in src/ are used nowhere outside their own file.
Most are types exported for documentation, which is normal and fine in
TypeScript. But the list is worth a pass with a tool rather than by eye:
What to look for, in priority order:
- exported constants nobody imports — sometimes a sign a test hardcodes
the number instead (I checked the shield/energy ones specifically and they
were fine, so this is a real question rather than a known problem)
- genuinely dead functions left behind by the decomposition
- types that could be local
Not a cleanup for its own sake: anything removed must be checked against
test/, train/ and tools/ as well as src/, since several exports exist
precisely so a harness can reach them.
128 exported names in
src/are used nowhere outside their own file.Most are types exported for documentation, which is normal and fine in
TypeScript. But the list is worth a pass with a tool rather than by eye:
What to look for, in priority order:
the number instead (I checked the shield/energy ones specifically and they
were fine, so this is a real question rather than a known problem)
Not a cleanup for its own sake: anything removed must be checked against
test/,train/andtools/as well assrc/, since several exports existprecisely so a harness can reach them.