Files
bun.sh/types/bun
2022-07-07 20:22:51 -07:00
..
2022-07-07 20:22:51 -07:00
2022-04-10 04:24:24 -07:00
2022-05-16 15:46:20 -07:00
2022-04-10 05:23:02 -07:00
2022-07-07 20:22:51 -07:00
2022-06-22 06:56:47 -07:00
2022-04-10 05:23:02 -07:00
2022-07-07 20:22:51 -07:00
2022-04-10 04:24:24 -07:00
2022-06-22 06:56:47 -07:00
2022-04-10 04:24:24 -07:00
2022-07-07 20:22:51 -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