bun-types 0.2.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
  3. package/types.d.ts +34528 -4133
package/README.md CHANGED
@@ -22,9 +22,10 @@ Add this to your `tsconfig.json` or `jsconfig.json`:
22
22
  ```jsonc
23
23
  {
24
24
  "compilerOptions": {
25
- "lib": ["ESNext"],
25
+ "lib": ["esnext"],
26
26
  "module": "esnext",
27
27
  "target": "esnext",
28
+ "moduleResolution": "node",
28
29
  // "bun-types" is the important part
29
30
  "types": ["bun-types"]
30
31
  }
@@ -46,7 +47,7 @@ Add this to your `tsconfig.json` or `jsconfig.json`:
46
47
  To run it:
47
48
 
48
49
  ```bash
49
- bun generate:package
50
+ bun build
50
51
  ```
51
52
 
52
53
  # Generated docs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-types",
3
- "version": "0.2.2",
3
+ "version": "0.4.0",
4
4
  "description": "Type definitions for Bun, an incredibly fast JavaScript runtime",
5
5
  "types": "types.d.ts",
6
6
  "files": [