Phase 10: Fix type assignment errors (TS2322) - TypeScript error reduction#2723
Merged
zanesq merged 5 commits intofix/typescript-errors-phase9-type-assignmentfrom May 30, 2025
Conversation
….com:block/goose into fix/typescript-errors-phase9-type-assignment * 'fix/typescript-errors-phase8-property-access' of github.com:block/goose: Cleanup Phase 1: Remove unused React imports from safe components (#2702) feat: lancedb vector tool selection (#2654) feat: add claude 4 to vertex dropdown (#2697) ui-v2 cleanup (#2701)
Complete implementation of type assignment error fixes: - Fixed App.tsx session and recipe config compatibility - Fixed ChatInput.tsx Close component props - Fixed ConfigContext.tsx extension response handling - Fixed SearchView.tsx null vs undefined issues - Fixed ErrorBoundary.tsx state typing - Fixed GoosehintsModal.tsx error conversion - Fixed GooseMessage.tsx metadata typing - Fixed LinkPreview.tsx null compatibility - Fixed MoreMenuLayout.tsx ReactNode and function props - Added missing type imports Reduced errors from 214 to 202 (12 errors eliminated) Reduced TS2322 errors from 49 to 36 (13 type assignment errors eliminated) All linting checks pass with zero warnings
….com:block/goose into fix/typescript-errors-phase10-type-assignment * 'fix/typescript-errors-phase9-type-assignment' of github.com:block/goose:
…error reduction (#2724)
7549597
into
fix/typescript-errors-phase9-type-assignment
1 check 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.
Phase 10: Fix Type Assignment Errors (TS2322)
Summary
Systematic fix of type assignment errors throughout the TypeScript codebase, targeting TS2322 "Type X is not assignable to type Y" errors.
Changes Made
Technical Approach
Results
Quality Assurance
anytypes introducedOverall Progress
Part of the ongoing systematic TypeScript error reduction effort with full linting compliance.