浏览代码

chore: suppress unused standalone imports diagnostic in Angular config

徐福静0235668 2 天之前
父节点
当前提交
d87663c3b3
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      tsconfig.json

+ 6 - 1
tsconfig.json

@@ -20,7 +20,12 @@
     "strictInjectionParameters": true,
     "strictInputAccessModifiers": true,
     "typeCheckHostBindings": true,
-    "strictTemplates": true
+    "strictTemplates": true,
+    "extendedDiagnostics": {
+      "checks": {
+        "unusedStandaloneImports": "suppress"
+      }
+    }
   },
   "files": [],
   "references": [