@cxbox-ui/core 1.37.2-0 → 1.37.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@ export declare class ReducerBuilderManager<State> {
|
|
|
12
12
|
addCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator, reducer: CaseReducer<State, ReturnType<ActionCreator>>): this;
|
|
13
13
|
removeCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator): this;
|
|
14
14
|
replaceCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator, reducer: CaseReducer<State, ReturnType<ActionCreator>>): this;
|
|
15
|
-
addMatcher<A>(matcher: TypeGuard<A> | ((action: any) => boolean), reducer: CaseReducer<State, A extends AnyAction ? A : A & AnyAction>): Omit<
|
|
15
|
+
addMatcher<A>(matcher: TypeGuard<A> | ((action: any) => boolean), reducer: CaseReducer<State, A extends AnyAction ? A : A & AnyAction>): Omit<ReducerBuilderManager<State>, 'addCase'>;
|
|
16
16
|
addDefaultCase(reducer: CaseReducer<State, AnyAction>): {};
|
|
17
17
|
get builder(): (builder: ActionReducerMapBuilder<State>) => {};
|
|
18
18
|
}
|