Skip to content

Commit 64f911a

Browse files
committed
fix: fix featureStatesReducer TS type
1 parent 11bea7d commit 64f911a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/featureStatesReducer.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { Reducer } from 'redux'
2-
import type { FeatureStates, CreateReducer, FeatureAction } from './index'
1+
import type { AnyAction, Reducer } from 'redux'
2+
import type { FeatureStates, CreateReducer } from './index'
33
export default function featureStatesReducer<
44
S extends FeatureStates = FeatureStates,
5-
A extends FeatureAction = FeatureAction
5+
A extends AnyAction = AnyAction
66
>(config?: { createReducer?: CreateReducer<S, A> }): Reducer<S, A>

0 commit comments

Comments
 (0)