Skip to content

Commit

Permalink
fix: 🐛 update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
anyesu committed Feb 6, 2024
1 parent 9db14e8 commit 219ae6a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/taro-demo-vue3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,19 @@
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"removeComments": false,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noEmit": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"declaration": false, // fix IDE compile error(tsc --noEmit false --declaration true). ref: https://github.com/microsoft/TypeScript/issues/47663#issuecomment-1519138189
"outDir": "lib",
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": true,
"rootDir": ".",
"jsx": "preserve",
"skipLibCheck": true,
"allowJs": true,
"resolveJsonModule": true,
"typeRoots": ["node_modules/@types"],
"paths": {
// TS5090 leading './'
"@/*": ["./src/*"]
Expand Down

0 comments on commit 219ae6a

Please sign in to comment.