Skip to content

Commit ef642b9

Browse files
committed
Fix missing exports
1 parent 43ff145 commit ef642b9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/toolkit/src/createReducer.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ export type ActionMatcherDescription<S, A extends Action> = {
2121
reducer: CaseReducer<S, NoInfer<A>>
2222
}
2323

24-
export type ReadonlyActionMatcherDescriptionCollection<S> = readonly ActionMatcherDescription<S, any>[]
24+
export type ReadonlyActionMatcherDescriptionCollection<S> =
25+
readonly ActionMatcherDescription<S, any>[]
2526

26-
export type ActionMatcherDescriptionCollection<S> = ActionMatcherDescription<S, any>[]
27+
export type ActionMatcherDescriptionCollection<S> = ActionMatcherDescription<
28+
S,
29+
any
30+
>[]
2731

2832
/**
2933
* A *case reducer* is a reducer function for a specific action type. Case

0 commit comments

Comments
 (0)