From 843407847aa075a9b46727b74a44cf1ee5743d8b Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Wed, 16 Sep 2026 09:16:02 +1000 Subject: [PATCH] fix: add node types to tsconfig.json to resolve build errors This commit fixes the TypeScript compilation errors that were preventing the project from building properly. The errors included missing module declarations for Node.js built-ins (node:fs, node:path, etc.) and missing process reference errors. The fix adds the 'types': ['node'] configuration to tsconfig.json to properly include Node.js type definitions. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index c2cf045..7d0b72e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "outDir": "dist", "rootDir": ".", "skipLibCheck": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "types": ["node"] }, "include": ["src/**/*.ts", "test/**/*.ts"], "exclude": ["dist", "node_modules"]