From 0894d9ccdfb48da57b2254ed36f50a9f4fafad4b Mon Sep 17 00:00:00 2001 From: mazxd Date: Sun, 11 May 2025 18:07:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9"moduleResolution":=20"node"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/utils/AppError.d.ts | 7 ------- backend/tsconfig.json | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 backend/src/utils/AppError.d.ts diff --git a/backend/src/utils/AppError.d.ts b/backend/src/utils/AppError.d.ts deleted file mode 100644 index 53429ac..0000000 --- a/backend/src/utils/AppError.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export class AppError extends Error { - statusCode: number; - status: string; - isOperational: boolean; - - constructor(message: string, statusCode: number); -} \ No newline at end of file diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 620ba88..5cca0f5 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "target": "ES2020", "module": "commonjs", + "moduleResolution": "node", "outDir": "./dist", "rootDir": "./src", "strict": true,