From d6bc45050ab87fa2c122d0389fddea52b1e665c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Wed, 17 Jul 2024 23:52:32 +0800 Subject: [PATCH] chore: update tsconfig referenced from https://www.totaltypescript.com/tsconfig-cheat-sheet --- tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 48a619679..795db71ce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,19 @@ { "compilerOptions": { "target": "esnext", + "lib": ["es2022"], + "moduleDetection": "force", "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, + "types": ["node"], "strict": true, + "noUnusedLocals": true, "declaration": true, "declarationDir": "dist", "outDir": "./dist", "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, + "isolatedModules": true, "verbatimModuleSyntax": true, "skipLibCheck": true }