How to use ofType with more than 5 actions? How to use ofType with more than 5 actions? typescript typescript

How to use ofType with more than 5 actions?


docs here: https://ngrx.io/api/effects/ofType

show the way to do it is something like this:

ofType(  ...[InspectionsPageActions.applyInspectionsFilters.type,  InspectionsPageActions.clearSelectedInspectionsFilters.type,  InspectionsPageActions.removeSelectedStatusFilter.type,  InspectionsPageActions.removeSelectedAttributeFilter.type,  InspectionsPageActions.removeSelectedUserFilter.type,  InspectionsPageActions.removeNotAssignedUsersFilter.type]),