aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json1
-rw-r--r--test/bun.js/tsconfig.json3
-rw-r--r--tsconfig.json3
3 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index ab0f50e5f..71612cf6e 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"dependencies": {
+ "bun-types": "^0.1.5",
"mitata": "^0.1.3",
"peechy": "0.4.32",
"react": "^18.2.0",
diff --git a/test/bun.js/tsconfig.json b/test/bun.js/tsconfig.json
index 9a6c36e06..975c49fe4 100644
--- a/test/bun.js/tsconfig.json
+++ b/test/bun.js/tsconfig.json
@@ -5,8 +5,7 @@
"target": "esnext",
"noEmit": true,
"allowJs": true,
- "typeRoots": ["../../types"],
- "types": ["bun"],
+ "types": ["bun-types"],
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
diff --git a/tsconfig.json b/tsconfig.json
index 1bd313fae..3f648150e 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,7 +4,8 @@
"module": "esnext",
"target": "esnext",
"typeRoots": ["./types"],
- "types": ["bun"]
+ "types": ["bun-types"],
+ "allowJs": true
},
"exclude": ["src"]
}