Skip to content

Commit 0bb0bbe

Browse files
committed
fix: Add output-only sig to fromFixture.
1 parent b988b7b commit 0bb0bbe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/from-fixture.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ export function fromFixture<TMessageIds extends string>(
99
fixture: string
1010
): eslint.InvalidTestCase<TMessageIds, never>;
1111

12+
export function fromFixture<TMessageIds extends string>(
13+
fixture: string,
14+
invalidTestCase: {
15+
output: string;
16+
}
17+
): eslint.InvalidTestCase<TMessageIds, never>;
18+
1219
export function fromFixture<
1320
TMessageIds extends string,
1421
TOptions extends unknown[]

0 commit comments

Comments
 (0)