Browse Source

chore: suppress unused standalone imports diagnostic in Angular config

徐福静0235668 2 days ago
parent
commit
d87663c3b3
1 changed files with 6 additions and 1 deletions
  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": [