Skip to content

Comments

Convert sdk-race to TypeScript#43

Open
LinaBell wants to merge 7 commits intomainfrom
dev
Open

Convert sdk-race to TypeScript#43
LinaBell wants to merge 7 commits intomainfrom
dev

Conversation

@LinaBell
Copy link
Contributor

Summary

  • Converted entire sdk-race app (server + client) from JavaScript to TypeScript
  • Renamed all .js/.jsx source files to .ts/.tsx (98 files changed)
  • Added TypeScript type annotations to all function signatures, props, and state
  • Replaced React PropTypes with TypeScript interfaces
  • Created shared types directory (shared/types/) with Credentials and RaceTypes interfaces
  • Added tsconfig.json for both server and client
  • Set up Jest testing infrastructure with ts-jest, SDK mocks, and route tests
  • Updated build and start scripts for production deployment
  • Upgraded @rtsdk/topia SDK version

Test plan

  • All server route tests pass
  • Client Vite production build succeeds
  • No .js/.jsx source files remain
  • Server compiles and starts via node dist/server/index.js
  • Smoke test in production environment

Generated with Claude Code

LinaBell and others added 7 commits February 17, 2026 18:19
Rename all .js/.jsx files to .ts/.tsx across server and client, add type
annotations, replace PropTypes with TypeScript interfaces, create shared
types (Credentials, RaceTypes), add tsconfig files, set up Jest with
ts-jest, and add route tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ript

EXP-608: Convert sdk-race from JavaScript to TypeScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant