We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce0b06 commit 55c13b2Copy full SHA for 55c13b2
modules/effects/src/actions.ts
@@ -21,7 +21,7 @@ export class Actions<V = Action> extends Observable<V> {
21
return observable;
22
}
23
24
- ofType(...allowedTypes: string[]): Actions<V> {
+ ofType<V2 extends V = V>(...allowedTypes: string[]): Actions<V2> {
25
return filter.call(this, (action: Action) =>
26
allowedTypes.some(type => type === action.type)
27
);
0 commit comments