From 1bc8c92e2fc2fe80162b70cb5db0f72c716a8941 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 4 Aug 2022 22:15:46 -0700 Subject: [PATCH] [misc] Add `bun-types` to repo --- package.json | 1 + test/bun.js/tsconfig.json | 3 +-- tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ab0f50e5f3..71612cf6eb 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 9a6c36e069..975c49fe4b 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 1bd313fae4..3f648150e9 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"] }