bun-types 1.0.1 → 1.0.2

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 +6 -4
  2. package/package.json +1 -1
  3. package/types.d.ts +35058 -35051
package/README.md CHANGED
@@ -12,7 +12,7 @@ Install the `bun-types` npm package:
12
12
 
13
13
  ```bash
14
14
  # yarn/npm/pnpm work too, "bun-types" is an ordinary npm package
15
- bun add bun-types
15
+ bun add -d bun-types
16
16
  ```
17
17
 
18
18
  # Usage
@@ -21,9 +21,11 @@ Add this to your `tsconfig.json` or `jsconfig.json`:
21
21
 
22
22
  ```jsonc-diff
23
23
  {
24
-
25
- + "types": ["bun-types"],
26
-
24
+ "compilerOptions": {
25
+ + "types": ["bun-types"]
26
+ // other options...
27
+ }
28
+
27
29
  // other options...
28
30
  }
29
31
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-types",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Type definitions for Bun, an incredibly fast JavaScript runtime",
5
5
  "types": "types.d.ts",
6
6
  "files": [