Files
bun.sh/types/bun
Jarred Sumner 6ab5ae8a7a Fix type errors
2022-05-04 00:33:42 -07:00
..
2022-04-10 04:30:09 -07:00
2022-04-10 04:24:24 -07:00
2022-05-04 00:33:42 -07:00
2022-04-10 05:23:02 -07:00
2022-04-29 23:21:14 -07:00
2022-04-10 05:23:02 -07:00
2022-04-10 04:24:24 -07:00
2022-04-29 23:21:14 -07:00
2022-04-10 04:24:24 -07:00

Bun type definitions

This has type definitions for Bun.js APIs. The type definitions are merged into a single file and copied to ../../packages/bun-types/types.d.ts.

Adding a new file

  1. Add it to ./index.d.ts
  2. Add it to ./paths.txt

How to generate types.d.ts

./bundle.ts merges the types in this folder into a single file.

To run it:

bun ./bundle.ts ../../packages/bun-types