(fileName: string)
| 1471 | const enabled = (enabled?: boolean) => |
| 1472 | enabled === undefined ? active : (active = !!enabled); |
| 1473 | const ignored = (fileName: string) => { |
| 1474 | if (!active) return true; |
| 1475 | const ext = extname(fileName); |
| 1476 | if (extensions.compiled.includes(ext)) { |
| 1477 | return !isScoped(fileName) || shouldIgnore(fileName); |
| 1478 | } |
| 1479 | return true; |
| 1480 | }; |
| 1481 | |
| 1482 | function addDiagnosticFilter(filter: DiagnosticFilter) { |
| 1483 | diagnosticFilters.push({ |
no outgoing calls
searching dependent graphs…