Browse Source

chore: suppress unused standalone imports diagnostic in Angular config

徐福静0235668 2 ngày trước cách đây
mục cha
commit
d87663c3b3
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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": [