Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jul 3, 2024
1 parent 58881cb commit 786a363
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,14 @@ declare namespace MCR {
branches?: CoverageRange[];
functions?: CoverageRange[];
ignores?: IgnoredRange[];
/** common json format */
lines: {
/** number: hits (0 means uncovered), string: partial covered */
[key: string]: number | string;
};
extras: {
/** b: blank, c: comment, i: ignored */
[key: string]: "b" | "c" | "i";
}
}
}

Expand Down Expand Up @@ -431,6 +435,7 @@ declare namespace MCR {
functions: string;
lines: string;
uncoveredLines: string;
extras: string;
}
}
}
Expand Down

0 comments on commit 786a363

Please sign in to comment.