import { ThunkAction } from 'redux-thunk' ; import { BreadcrumbService } from '../../breadcrumbs' ; export const setBreadcrumb = ( section ) : ThunkAction < any , any , { breadcrumbService : BreadcrumbService ; } , any > => ( dispatch , getState , { breadcrumbService } ) => { breadcrumbService . setBreadcrumbs ( section ) ; } ;