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.
- package/README.md +6 -4
- package/package.json +1 -1
- 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
|
-
+
|
|
26
|
-
|
|
24
|
+
"compilerOptions": {
|
|
25
|
+
+ "types": ["bun-types"]
|
|
26
|
+
// other options...
|
|
27
|
+
}
|
|
28
|
+
|
|
27
29
|
// other options...
|
|
28
30
|
}
|
|
29
31
|
```
|