diff --git a/tsconfig.app.json b/tsconfig.app.json index 358ca9b..f9a5970 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -17,8 +17,8 @@ /* Linting */ "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, // 修改这一行 + "noUnusedParameters": false, // 修改这一行 "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, diff --git a/tsconfig.node.json b/tsconfig.node.json index db0becc..82ab2b0 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -15,8 +15,8 @@ /* Linting */ "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, // 修改这一行 + "noUnusedParameters": false, // 修改这一行 "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true },