Skip to content

fix(preview): clear the 16 tsc errors in dev-only preview mocks - #52

Merged
Atreus-X merged 1 commit into
mainfrom
fix/tsc-preview-mocks
Sep 30, 2026
Merged

Atreus-X merged 1 commit into
mainfrom
fix/tsc-preview-mocks

Conversation

@Atreus-X

Copy link
Copy Markdown
Owner

Summary

  • npx tsc --noEmit reported 16 errors on main; all were type drift in dev-only preview mocks.
  • processviewer.preview.tsx: add numthreads to the 15 mock ProcessInfo rows.
  • defaultconfig.ts: add version and buildtime to the mock FullConfigType.

Testing

  • tsc --noEmit: 0 errors (was 16)
  • vitest run: 104 passed
  • Prettier not applied to processviewer.preview.tsx: the file was already not prettier-clean, and reformatting would balloon the diff.

SSH / wsh

Not applicable: dev-only preview mocks, no runtime or remote-host code touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01W6QMXXvRReaKxWk1JL5Et6

The mock process rows lacked ProcessInfo.numthreads and the default config
mock lacked FullConfigType.version/buildtime. Neither file is part of the app
build; this only makes `tsc --noEmit` clean.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W6QMXXvRReaKxWk1JL5Et6
@Atreus-X Atreus-X mentioned this pull request Sep 30, 2026
@Atreus-X
Atreus-X merged commit b66c238 into main Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant