From 8166c95af49f325a4bd7066f1c36a1781a2a5c70 Mon Sep 17 00:00:00 2001 From: jianuo <32106500027@e.gzhu.edu.cn> Date: Fri, 19 Dec 2025 19:34:18 +0800 Subject: [PATCH] feat: update TypeScript configuration to use Node16 module and resolution --- tsconfig.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 863704a..37fb249 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ { "compilerOptions": { "target": "ES2020", - "module": "CommonJS", + "module": "Node16", "lib": ["ES2020"], - "moduleResolution": "node", + "moduleResolution": "node16", "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, @@ -15,7 +15,6 @@ "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "outDir": "./dist", - "baseUrl": "./", "incremental": true, "strictNullChecks": false, "typeRoots": ["./node_modules/@types"]