bun-types 0.2.2 → 0.4.0-canary.09fef9a
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 +3 -2
- package/package.json +2 -2
- package/types.d.ts +27563 -21976
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": ["
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.4.0-canary.09fef9a",
|
|
4
4
|
"description": "Type definitions for Bun, an incredibly fast JavaScript runtime",
|
|
5
5
|
"types": "types.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"bun.js",
|
|
14
14
|
"types"
|
|
15
15
|
],
|
|
16
|
-
"repository": "https://github.com/oven-sh/bun
|
|
16
|
+
"repository": "https://github.com/oven-sh/bun",
|
|
17
17
|
"homepage": "https://bun.sh"
|
|
18
18
|
}
|