Skip to content

Improve type safety across CLI build and debug paths - #43

Merged
tequdev merged 5 commits into
Xahau:mainfrom
tequdev:improve-type-safety
Aug 6, 2026
Merged

Improve type safety across CLI build and debug paths#43
tequdev merged 5 commits 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

tequdev added 5 commits July 4, 2026 14:54
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.
# Conflicts:
#	src/c2wasm/index.ts
@tequdev
tequdev merged commit a0a4dd9 into Xahau:main Aug 6, 2026
6 checks 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