Skip to content

Should we use @types/bun or bun-types package? #8585

Description

@bjesuiter

What is the type of issue?

No response

What is the issue?

The bun website at https://bun.sh/guides/runtime/typescript
says:

To install TypeScript definitions for Bun's built-in APIs in your project, install @types/bun.

But the version of this package is at 1.0.4, compared to bun-types, which corresponds with the current bun version 1.0.25.
Also, bun-types seems to be directly supported by oven, which makes it seem very legit.

Which one should we use?

Where did you find it?

https://bun.sh/guides/runtime/typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions