Skip to content

Tweak strict types setup, fix type errors under strictTypes.ts #805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

bhosmer-ant
Copy link
Contributor

  • Modified strict type generation to just remove .passthrough() (.strict() is ~a no-op)
  • Fixed TypeScript errors when using strictTypes.ts (impl and tests)
  • Added a test pass that runs everything with strictTypes imported into src/client/index.ts, src/server/{index.ts,mcp.ts}
  • Added type annotations to Client/Server/McpServer methods for rollover ergo

ihrpr and others added 7 commits July 20, 2025 20:40
…ema, structuredContent and metadata to have passthrough
- Modified strict type generation to just remove .passthrough() (.strict() is ~a no-op)
- Fixed TypeScript errors when using strictTypes.ts (impl and tests)
- Added a test pass that runs everything with strictTypes imported into src/client/index.ts, src/server/{index.ts,mcp.ts}
- Added type annotations to Client/Server/McpServer methods for rollover ergo
@bhosmer-ant bhosmer-ant requested a review from a team as a code owner July 24, 2025 04:33
@bhosmer-ant bhosmer-ant requested a review from ihrpr July 24, 2025 04:33
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.

2 participants