Skip to content

fix: close #27#28

Closed
reaatech wants to merge 1 commit into
mainfrom
issue/tighten-type-usage-replace-lazy-any-unknown-with-true-types-27
Closed

fix: close #27#28
reaatech wants to merge 1 commit into
mainfrom
issue/tighten-type-usage-replace-lazy-any-unknown-with-true-types-27

Conversation

@reaatech

@reaatech reaatech commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

All checks pass. Changed createMessageResult: undefined as unknown to createMessageResult: undefined as Record<string, unknown> | Promise<never> | undefined in packages/mcp-bridge/src/a2a-to-mcp.test.ts:39, replacing the lazy unknown assertion with an honest union type that covers both fixture shapes the field is assigned to (a generic object in beforeEach and a rejected Promise in the sampling-failure test).

Closes #27

#27

All checks pass. Changed `createMessageResult: undefined as unknown` to `createMessageResult: undefined as Record<string, unknown> | Promise<never> | undefined` in `packages/mcp-bridge/src/a2a-to-mcp.test.ts:39`, replacing the lazy `unknown` assertion with an honest union type that covers both fixture shapes the field is assigned to (a generic object in `beforeEach` and a rejected `Promise` in the sampling-failure test).
@reaatech

reaatech commented Jun 8, 2026

Copy link
Copy Markdown
Owner Author

Auto-closed by RepoBot

This pr has been automatically closed because:

CI failed: All Checks Passed, Security Audit

RepoBot runs unattended. No human action is required.

@reaatech reaatech closed this Jun 8, 2026
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.

Tighten type usage: replace lazy any/unknown with true types

1 participant