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,