import { Action , Reducer } from 'redux' ; param reducer export default function getInitialState < S , A extends Action > ( reducer ) { const dummyAction = { type : '@@INIT' } as any ; return reducer ( undefined , dummyAction ) ; }