Skip to content

Commit

Permalink
fix vscode problem in jsconfig with module vs. moduleResolution
Browse files Browse the repository at this point in the history
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.ts
Specify what module code is generated.

See more: https://www.typescriptlang.org/tsconfig#module
  • Loading branch information
vogler committed Nov 7, 2023
1 parent e5935fa commit 798b130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"checkJs": true,
"target": "es2021",
"module": "esnext",
"module": "NodeNext",
"moduleResolution": "NodeNext", // https://github.com/typicode/lowdb/issues/554
},
"exclude": ["node_modules", "**/node_modules"]
Expand Down

0 comments on commit 798b130

Please sign in to comment.