Skip to content

Commit 07ae742

Browse files
committed
fix: use correct typing for lint options
1 parent 7a46b9f commit 07ae742

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lib/getCoverage.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ export type CoverageData = {
2020
};
2121

2222
export type Options = Partial<
23-
Pick<
24-
LintOptions,
25-
"strict" | "debug" | "ignoreFiles" | "ignoreCatch" | "tsProjectFile"
26-
> & {
23+
Pick<LintOptions, "strict" | "debug" | "ignoreFiles" | "ignoreCatch"> & {
2724
cache: LintOptions["enableCache"];
2825
ignoreUnread: LintOptions["ignoreUnreadAnys"];
26+
tsProjectFile: string;
2927
}
3028
>;
3129

0 commit comments

Comments
 (0)