import { ActionCreator } from 'redux' ; import { IPredictionsUpdatedAction } from './types' ; export const updateModelPredictions = ( predictions ) => ( { type : '@@mnist/PREDICTIONS_LIST_UPDATED' , payload : { predictions , } , } ) ;