Skip to content

Improve type safety across CLI build and debug paths#43

Open
tequdev wants to merge 1 commit into
Xahau:mainfrom
tequdev:improve-type-safety
Open

Improve type safety across CLI build and debug paths#43
tequdev wants to merge 1 commit into
Xahau:mainfrom
tequdev:improve-type-safety

Conversation

@tequdev

@tequdev tequdev commented Jul 4, 2026

Copy link
Copy Markdown
Member

High Level Overview of Change

Replace pervasive any usage with explicit types so compile-time checks catch invalid file inputs, API payloads, and error handling earlier. Introduce a shared FileObject model for C/JS compilation flows, tighten WebSocket event typing in the debug client, and align binary I/O with stricter Node/TypeScript definitions. Exclude compiled dist output from integration test module resolution to avoid stale build artifacts skewing test results.

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

Before / After

Test Plan

Replace pervasive `any` usage with explicit types so compile-time checks catch invalid file inputs, API payloads, and error handling earlier.
Introduce a shared FileObject model for C/JS compilation flows, tighten WebSocket event typing in the debug client, and align binary I/O with stricter Node/TypeScript definitions. Exclude compiled dist output from integration test module resolution to avoid stale build artifacts skewing test results.
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