Skip to content

fix: restore tsconfig for typecheck, fix wrap() type#19

Merged
ericallam merged 1 commit intomainfrom
fix/ci-typecheck
Mar 11, 2026
Merged

fix: restore tsconfig for typecheck, fix wrap() type#19
ericallam merged 1 commit intomainfrom
fix/ci-typecheck

Conversation

@ericallam
Copy link
Member

Summary

  • Restore module and moduleResolution in tsconfig.json — tshy overrides these during build, but tsc --noEmit needs them for typecheck
  • Fix wrap() generic from (...args: unknown[]) => unknown to (...args: any[]) => any so typed functions can be wrapped without casting

Test plan

  • pnpm -F agentcrumbs typecheck passes
  • pnpm -F agentcrumbs build passes
  • CI typecheck passes

…ture

tsconfig was missing module settings after tshy migration, breaking
tsc --noEmit in CI. Also fix wrap() generic to accept any function
signature, not just (...args: unknown[]) => unknown.
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentcrumbs-docs Ready Ready Preview, Comment Mar 11, 2026 9:27am

Request Review

@ericallam ericallam marked this pull request as ready for review March 11, 2026 09:28
@ericallam ericallam merged commit 9c05707 into main Mar 11, 2026
2 checks passed
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