Skip to content

Convert remaining JavaScript files to TypeScript#41

Merged
SCdF merged 3 commits intomainfrom
convert-js-to-ts
Jan 19, 2026
Merged

Convert remaining JavaScript files to TypeScript#41
SCdF merged 3 commits intomainfrom
convert-js-to-ts

Conversation

@SCdF
Copy link
Owner

@SCdF SCdF commented Jan 19, 2026

Summary

  • Convert source files: About.js, RepeatableListItem.jsx, TemplateListItem.jsx to TypeScript
  • Convert test files: TemplateListItem.test.jsx, Repeatable.test.jsx to TypeScript
  • Convert config files: vitest.config.js (client/server), inject-manifest.mjs to TypeScript
  • Remove legacy jest.config.js (project uses Vitest)
  • Add MockDatabase interface to db mock for better test typing

Test plan

  • yarn check passes (lint + type checking)
  • yarn test passes (all 118 tests)

🤖 Generated with Claude Code

@SCdF SCdF force-pushed the convert-js-to-ts branch 3 times, most recently from ec3cac6 to 7a263b3 Compare January 19, 2026 15:15
- Convert source files: About.js, RepeatableListItem.jsx, TemplateListItem.jsx
- Convert test files: TemplateListItem.test.jsx, Repeatable.test.jsx
- Convert config files: vitest.config.js (client/server), inject-manifest.mjs
- Remove legacy jest.config.js (project uses Vitest)
- Add MockDatabase interface to db mock for better test typing
- Add RepeatableListItemProps interface with type guard for template prop

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@SCdF SCdF force-pushed the convert-js-to-ts branch from 7a263b3 to 423e6c5 Compare January 19, 2026 15:17
@SCdF SCdF force-pushed the convert-js-to-ts branch from b8f4798 to 186a62e Compare January 19, 2026 16:35
@SCdF SCdF merged commit a074129 into main Jan 19, 2026
2 checks passed
@SCdF SCdF deleted the convert-js-to-ts branch January 19, 2026 17:47
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