From 0e4fe5e8671a5de768e9e9c820ffed6e2762d5b1 Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Thu, 17 Oct 2024 18:36:16 +0900 Subject: [PATCH] Update TypeScript config --- package.json | 2 +- tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 46a7159ea..8f7ee7feb 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "@types/node": "^22.7.6", "@types/signale": "^1.4.7", "prisma": "^5.21.0", - "tslib": "^2.8.0", "typescript": "^5.6.3" }, "dependencies": { @@ -52,6 +51,7 @@ "node-system-stats": "^1.3.0", "signale": "^1.4.0", "topgg-autoposter": "^2.0.2", + "tslib": "^2.8.0", "undici": "^6.20.1", "zod": "^3.23.8" }, diff --git a/tsconfig.json b/tsconfig.json index 4a46aa3b0..0b192440b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,12 @@ { "compilerOptions": { - "module": "CommonJS", "target": "ESNext", "lib": ["ESNext", "WebWorker"], + "module": "CommonJS", "moduleResolution": "node", "declaration": true, - "sourceMap": false, + "removeComments": true, + "importHelpers": true, "strict": true, "esModuleInterop": true, "experimentalDecorators": true,