Skip to content

Commit

Permalink
replace LinesSummary with MetricsSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jan 11, 2024
1 parent 3a1b44e commit 2d239b5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,16 @@ declare namespace MCR {
total: number;
pct: number | "";
status: "low" | "medium" | "high" | "unknown";
}

export interface LinesSummary extends MetricsSummary {
/** V8 only */
/** V8 lines only */
blank?: number;
/** V8 only */
/** V8 lines only */
comment?: number;
}

export interface CoverageSummary {
functions: MetricsSummary;
branches: MetricsSummary;
lines: LinesSummary;
lines: MetricsSummary;
/** V8 only */
bytes?: MetricsSummary;
/** Istanbul only */
Expand Down

0 comments on commit 2d239b5

Please sign in to comment.