Skip to content

Commit

Permalink
chore: tsconfig changes to get es2022 error.cause (node 18+)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Apr 4, 2024
1 parent 91cc5c2 commit 39bd401
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"noEmit": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true
"esModuleInterop": true,
"lib": ["ES2022"],
"module": "Node16",
"moduleResolution": "Node16",
"target": "ES2022"
}
}
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"compilerOptions": {
"outDir": "./lib",
"resolveJsonModule": true,
"lib": ["ES2022"],
"module": "Node16",
"moduleResolution": "Node16",
"target": "ES2022",
"rootDir": "./src",
"plugins": [{ "transform": "./src/messageTransformer.ts" }],
"esModuleInterop": true
Expand Down

0 comments on commit 39bd401

Please sign in to comment.