From 26059c78dc4f19e0309e96be42b4238146a34ff5 Mon Sep 17 00:00:00 2001 From: walker <13750528578@163.com> Date: Sun, 12 Apr 2026 19:42:26 +0800 Subject: [PATCH] =?UTF-8?q?build(types):=20=E8=A1=A5=E5=85=85=20Bun=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=A3=B0=E6=98=8E=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + tsconfig.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a972940..5a142ac5 100644 --- a/package.json +++ b/package.json @@ -124,6 +124,7 @@ "@semantic-release/release-notes-generator": "^14.1.0", "@tailwindcss/vite": "^4.1.17", "@types/bcrypt": "^6.0.0", + "@types/bun": "^1.3.12", "@types/chokidar": "^2.1.7", "@types/express": "^4.17.21", "@types/express-rate-limit": "6.0.0", diff --git a/tsconfig.json b/tsconfig.json index 895dabca..bd3f4d58 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -42,7 +42,10 @@ "forceConsistentCasingInFileNames": true, // Performance - "incremental": true + "incremental": true, + + // Runtime type declarations + "types": ["node", "bun"] }, "include": [ "src/**/*"