Repository navigation
TypeScript app shell - #277
Merged
jtklein-agents merged 2 commits intoNov 17, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The error dialog, the app and the page entry gain explicit types; the error dialog's propTypes and the direct prop-types dependency go. The typecheck baseline is now empty. Input's run type reuses the card props it passes on, so the real Run checks against it. Two card fields the store does not have are widened to optional: the tree's loading flag (never set) and the final alignment's numSequencesParsed (parsing is always complete there). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jtklein-agents
merged commit Nov 17, 2026
bea7308
into
spec/236-page-typescript
7 of 9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #252. Part of #236.
Summary
The last conversion leaf: no production file of the Page is JavaScript, and the typecheck baseline is empty.
Both call sites in
App.tsxthat omit optional props now type-check without any change at the call site.Notes:
title, which the MUI icon does not accept #234: already closed. The clear-console icon usestitleAccesson the spec branch, so it needs no@ts-expect-error.Input.tsx: the spec branch tip already failedtschere. TypeScript run panels #251 typedInputagainst the cards' old shape, and TypeScript input-file cards #250 then typed the cards. OnceAppbecame TypeScript,<Input run={run}>was also checked against the realRun.Input's run type now reusesPartitionFileCardProps['run'],AlignmentCardProps['alignment'],TreeCardProps['tree']and the other card props it passes on.Treehas noloadingfield, soTreeCard's spinner never shows.CardTree.loadingis widened to optional and the behaviour is unchanged. Filed as Tree card reads a loading flag the store Tree never sets #278.CardFinalAlignment.numSequencesParsedis widened to optional too.FinalAlignmentdoesn't have the field, but itsparsingCompleteis alwaystrue, so the branch that reads it is dead. Not a bug.App.test.jsgets// @ts-nocheck, as nine other test files already have, which clears its two Jest-globals baseline lines. An unused{ theme }argument inApp.tsxwas removed because lint failed on it.Evidence
e3f2795):scripts/typecheck-baseline.txthas 4 lines (2App.js, 2App.test.js), andtsc --noEmitreports 7 × TS2769 insrc/app/Input.tsx.After: the baseline file is 0 bytes.
Merge Danger
Door: two-way
The change only adds types and renames files. Runtime behaviour is unchanged.
Blast Radius: small
Reverting this PR brings back the old baseline lines. The renamed page entry is still found because
src/index.tsximports./app/without an extension.🤖 Generated with Claude Code