Skip to content

Fix TypeScript error in AiOutputAdapter setLoaderMessage - #3085

Merged
sejas merged 1 commit into
trunkfrom
fix-lint-cli-json-abstraction
Apr 14, 2026
Merged

Fix TypeScript error in AiOutputAdapter setLoaderMessage#3085
sejas merged 1 commit into
trunkfrom
fix-lint-cli-json-abstraction

Conversation

@sejas

@sejas sejas commented Apr 14, 2026

Copy link
Copy Markdown
Member

Related issues

Proposed Changes

  • Add missing optional update parameter to the setLoaderMessage method in the AiOutputAdapter interface and JsonAdapter class to match the UI class implementation and call site in commands/ai/index.ts:153.

Testing Instructions

  • Run npm run typecheck and verify no TypeScript error at commands/ai/index.ts:153:33 ("Expected 1 arguments, but got 2").

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
Add missing optional `update` parameter to the `setLoaderMessage` method
in the `AiOutputAdapter` interface and `JsonAdapter` class to match the
call site in `commands/ai/index.ts` and the `UI` class implementation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sejas sejas self-assigned this Apr 14, 2026
@sejas
sejas merged commit d4a3959 into trunk Apr 14, 2026
7 of 10 checks passed
@sejas
sejas deleted the fix-lint-cli-json-abstraction branch April 14, 2026 11:10
@sejas

sejas commented Apr 14, 2026

Copy link
Copy Markdown
Member Author

Merged to fix the lint error:
Screenshot 2026-04-14 at 12 11 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant