fix vscode problem in jsconfig with module vs. moduleResolution
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
This commit is contained in:
parent
e5935faa13
commit
798b130c92
1 changed files with 1 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue