Skip to content

Types for bun-types changed #88

Open
@marvinside

Description

@marvinside

bun-types changed the Structure of their types.

Last working Version: bun-types@1.0.25
Broken Version: bun-types@1.0.26 and all further versions.

The types are now split into multiple files, there is now a index.d.ts file with the following content:

// Project: https://github.com/oven-sh/bun
// Definitions by: Jarred Sumner <https://github.com/Jarred-Sumner>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference lib="esnext" />
/// <reference types="node" />
/// <reference types="ws" />

// contributors: uncomment this to detect conflicts with lib.dom.d.ts
/// <reference lib="dom" />

/// <reference path="./globals.d.ts" />
/// <reference path="./bun.d.ts" />
/// <reference path="./ffi.d.ts" />
/// <reference path="./test.d.ts" />
/// <reference path="./html-rewriter.d.ts" />
/// <reference path="./jsc.d.ts" />
/// <reference path="./sqlite.d.ts" />
/// <reference path="./wasm.d.ts" />
/// <reference path="./deprecated.d.ts" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions