Parcourir la source

chore: suppress unused standalone imports diagnostic in Angular config

徐福静0235668 il y a 3 jours
Parent
commit
d87663c3b3
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  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": [