Skip to content

Commit 830c8fa

Browse files
brandonrobertsMikeRyanDev
authored andcommitted
fix(effects): Add deprecation notice for ofType instance operator
1 parent 232ca7a commit 830c8fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/effects/src/actions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export class Actions<V = Action> extends Observable<V> {
2020
return observable;
2121
}
2222

23+
/**
24+
* @deprecated from 6.1.0. Use the pipeable `ofType` operator instead.
25+
*/
2326
ofType<V2 extends V = V>(...allowedTypes: string[]): Actions<V2> {
2427
return ofType<any>(...allowedTypes)(this as Actions<any>) as Actions<V2>;
2528
}

0 commit comments

Comments
 (0)