Quellcode durchsuchen

chore: suppress unused standalone imports diagnostic in Angular config

徐福静0235668 vor 4 Tagen
Ursprung
Commit
d87663c3b3
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  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": [