import elapsed from './elapsed' ; /**
 * Starts a timer and return a function that when called returns a string
 * with the ellapsed time formatted.
 */ export default ( start = Date . now ( ) ) => { return ( ) : string => elapsed ( Date . now ( ) - start ) ; } ;