Files
bun.sh/docs
Claude Bot 08215d9d20 test(bun-types): add comprehensive type tests for bun:bundle module
- Add bundle.ts fixture with comprehensive type tests for feature()
- Add tests demonstrating type-safe feature flags using declaration merging
- Document type safety approach in bundler docs

The tests cover:
- Basic feature() usage and return types
- Feature flags in conditionals, ternaries, and logical operators
- Feature flags in functions, classes, async/generator contexts
- Import aliases
- Error cases with @ts-expect-error
- Declaration merging for type-safe overloads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 03:30:32 +00:00
..
2025-11-10 17:38:48 -08:00
2025-11-21 14:22:28 -08:00
2025-11-21 14:22:28 -08:00

Logo

Bun Documentation

Official documentation for Bun: the fast, all-in-one JavaScript runtime.

Development

Install the Mintlify CLI to preview the documentation locally:

bun install -g mint

Run the development server:

mint dev

The site will be available at http://localhost:3000.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.