return this.buildReport(reports);
if (!report.summary.passed && report.details.length) console.log('\n๐ Problematic files:'); for (const file of report.details) ts screener
private analyzeFile(filePath: string): FileReport const sourceText = readFileSync(filePath, 'utf-8'); const sourceFile = ts.createSourceFile(filePath, sourceText, ts.ScriptTarget.Latest, true); return this
# Install npm install -g ts-screener Run in project ts-screener --include "src/**/*.ts" --target-coverage 90 JSON output ts-screener --json > report.json Fail on implicit any ts-screener --no-implicit-any โ Example Output ๐ TypeScript Screener Report โ Files scanned: 124 ๐ฏ Type coverage: 94.2% โ ๏ธ Total 'any' usage: 3 โ Missing type annotations: 12 ๐ Status: PASSED โ const sourceFile = ts.createSourceFile(filePath