Skip to content

Commit 15c843a

Browse files
style: eslint
1 parent 284c997 commit 15c843a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/match/src/types/ShapeMatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface ShapeMatcher<
1919
: HasShapes<Input> extends true
2020
? <const I extends ShapePatterns<Input>, O>(
2121
value: ExcludeMatchedShapes<I, Matches>,
22-
result: O
22+
result: O,
2323
) => ShapeMatcher<
2424
DropShape<Input, I>,
2525
Union<Output, O>,
@@ -45,7 +45,7 @@ export interface ShapeMatcher<
4545
: HasShapes<Input> extends true
4646
? <const I extends ShapePatterns<Input>, O>(
4747
value: ExcludeMatchedShapes<I, Matches>,
48-
fn: (value: Simplify<PickShape<Input, I>>) => O
48+
fn: (value: Simplify<PickShape<Input, I>>) => O,
4949
) => ShapeMatcher<
5050
DropShape<Input, I>,
5151
Union<Output, O>,

packages/match/src/types/ShapeMatcherStrict.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface ShapeMatcherStrict<
1919
: HasShapes<Input> extends true
2020
? <const I extends ShapePatterns<Input>>(
2121
value: ExcludeMatchedShapes<I, Matches>,
22-
result: Output
22+
result: Output,
2323
) => ShapeMatcherStrict<
2424
DropShape<Input, I>,
2525
Output,
@@ -45,7 +45,7 @@ export interface ShapeMatcherStrict<
4545
: HasShapes<Input> extends true
4646
? <const I extends ShapePatterns<Input>>(
4747
value: ExcludeMatchedShapes<I, Matches>,
48-
fn: (value: Simplify<PickShape<Input, I>>) => Output
48+
fn: (value: Simplify<PickShape<Input, I>>) => Output,
4949
) => ShapeMatcherStrict<
5050
DropShape<Input, I>,
5151
Output,

packages/match/src/types/ValueMatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface ValueMatcher<
1515
? MatchError<"Match is exhaustive">
1616
: <const I extends Input, O>(
1717
value: ExcludeMatchedValues<I, Matches>,
18-
result: O
18+
result: O,
1919
) => ValueMatcher<
2020
DropValue<Input, I>,
2121
Union<Output, O>,
@@ -39,7 +39,7 @@ export interface ValueMatcher<
3939
? MatchError<"Match is exhaustive">
4040
: <const I extends Input, O>(
4141
value: ExcludeMatchedValues<I, Matches>,
42-
fn: (value: PickValue<Input, I>) => O
42+
fn: (value: PickValue<Input, I>) => O,
4343
) => ValueMatcher<
4444
DropValue<Input, I>,
4545
Union<Output, O>,

packages/match/src/types/ValueMatcherStrict.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface ValueMatcherStrict<
1515
? MatchError<"Match is exhaustive">
1616
: <const I extends Input>(
1717
value: ExcludeMatchedValues<I, Matches>,
18-
result: Output
18+
result: Output,
1919
) => ValueMatcherStrict<
2020
DropValue<Input, I>,
2121
Output,
@@ -39,7 +39,7 @@ export interface ValueMatcherStrict<
3939
? MatchError<"Match is exhaustive">
4040
: <const I extends Input>(
4141
value: ExcludeMatchedValues<I, Matches>,
42-
fn: (value: PickValue<Input, I>) => Output
42+
fn: (value: PickValue<Input, I>) => Output,
4343
) => ValueMatcherStrict<
4444
DropValue<Input, I>,
4545
Output,

0 commit comments

Comments
 (0)