diff --git a/modules/effects/src/actions.ts b/modules/effects/src/actions.ts index f8968997bb..cf4b700669 100644 --- a/modules/effects/src/actions.ts +++ b/modules/effects/src/actions.ts @@ -21,7 +21,7 @@ export class Actions extends Observable { return observable; } - ofType(...allowedTypes: string[]): Actions { + ofType(...allowedTypes: string[]): Actions { return filter.call(this, (action: Action) => allowedTypes.some(type => type === action.type), );