Skip to content

Commit c4924c6

Browse files
authored
fix(store): update action handler type to allow Observable<unknown> and Promise<unknown> (#2385)
* test: integrations ng9 ivy pin jest and jest-preset-angular versions * fix(store): update action handler type to use Observable<unknown> and Promise<unknown>
1 parent 0b2ec01 commit c4924c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/store/src/actions/action-director.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ActionDirector {
2121
handlerFn: (
2222
ctx: StateContext<TStateModel>,
2323
action: InstanceType<TActionType>
24-
) => void | Observable<void> | Promise<void>,
24+
) => void | Observable<unknown> | Promise<unknown>,
2525
options: ɵActionOptions = {}
2626
) {
2727
const actionHandler = this._actionHandlerFactory.createActionHandler(

0 commit comments

Comments
 (0)