import { Action , Reducer } from 'redux' ; import { expectType } from 'tsd' ; import { reduceActions } from '../../src' ; type Action1 = Action < 'action1' > ; type Action2 = Action < 'action2' > ; declare function action1 ( ) ; declare function action2 ( ) ; declare const reducer ; expectType < number > ( reduceActions ( reducer ) ) ; expectType < number > ( reduceActions ( reducer , action1 ( ) ) ) ; expectType < number > ( reduceActions ( reducer , action1 ( ) , action2 ( ) ) ) ;