Skip to content

Commit a39b278

Browse files
authored
fix(store): make readonly usage consistent (#3050) (#3069)
1 parent fb7d69a commit a39b278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/store/src/reducer_creator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function on<State, Creators extends readonly ActionCreator[]>(
104104
*/
105105
export function createReducer<S, A extends Action = Action>(
106106
initialState: S,
107-
...ons: ReducerTypes<S, ActionCreator[]>[]
107+
...ons: ReducerTypes<S, readonly ActionCreator[]>[]
108108
): ActionReducer<S, A> {
109109
const map = new Map<string, OnReducer<S, ActionCreator[]>>();
110110
for (const on of ons) {

0 commit comments

Comments
 (0)