@rehearsal/reporter
Advanced tools
Comparing version 0.0.25 to 0.0.26
{ | ||
"name": "@rehearsal/reporter", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "Rehearsal Reporter", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"lint": "yarn npm-run-all lint:*", | ||
"lint:eslint": "yarn eslint . --ext .ts", | ||
"lint:eslint": "yarn eslint --fix . --ext .ts", | ||
"lint:tsc-src": "yarn tsc --noEmit", | ||
@@ -43,3 +43,3 @@ "prepare": "yarn build", | ||
"peerDependencies": { | ||
"typescript": ">4.0" | ||
"typescript": ">4.7" | ||
}, | ||
@@ -53,3 +53,3 @@ "engines": { | ||
}, | ||
"gitHead": "9c1d6048fe83cceb200a04be0727fca3b5521ebb" | ||
"gitHead": "42b75f1ceae1f39cdddf569e6311c4fb813c4486" | ||
} |
@@ -98,3 +98,3 @@ import fs from 'fs'; | ||
const content = fs.readFileSync(file, 'utf-8'); | ||
const report = JSON.parse(content); | ||
const report: Report = JSON.parse(content); | ||
@@ -112,5 +112,5 @@ if (!Reporter.isReport(report)) { | ||
private static isReport(report: any): report is Report { | ||
private static isReport(report: Report): report is Report { | ||
return report && report.summary !== undefined && report.items !== undefined; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62126
41
474
2