Skip to content

Commit

Permalink
fix: update TSConfig module resolution
Browse files Browse the repository at this point in the history
Update TypeScript configuration to align with modern Node.js standards:
  • Loading branch information
gonzalopaniagua committed Nov 20, 2024
1 parent 8324c47 commit 296422f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"compilerOptions": {
/* Language and Environment */
"target": "ES2020",
"target": "ES2022",
/* Modules */
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./lib/",
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
Expand All @@ -12,6 +14,5 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"declaration": true /* Generate .d.ts files for every TypeScript or JavaScript file inside your project. */
},
"extends": "@tsconfig/node18/tsconfig.json",
"exclude": ["node_modules", "lib", "tests", "local_testing"]
}

0 comments on commit 296422f

Please sign in to comment.