Skip to content

Conversation

@WalterZ133
Copy link

Summary

  • Add bun-types to the types array in packages/opencode/tsconfig.json
  • Fixes TypeScript error: Cannot find name 'process'

Context

The types: [] configuration prevented TypeScript from recognizing Bun global types like process.

Note: This issue was observed with Bun 1.3.6. It may be a regression in that version, but adding bun-types explicitly is a more robust solution regardless.

Test

  • Run bun run typecheck in packages/opencode - passes successfully

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant