diff --git a/package.json b/package.json index c0e7395..657b452 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ ] }, "devDependencies": { + "@types/node": "^20.14.11", "@typescript-eslint/parser": "^7.15.0", "eslint": "^8.56.0", "eslint-plugin-n8n-nodes-base": "^1.16.1", diff --git a/tsconfig.json b/tsconfig.json index 7469d24..dfb7c61 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { "strict": true, - "module": "commonjs", - "moduleResolution": "node", + "module": "preserve", "target": "es2019", "lib": ["es2019", "es2020", "es2022.error"], + "types": ["node"], "removeComments": true, "useUnknownInCatchVariables": false, "forceConsistentCasingInFileNames": true,