Type alias duration

duration: function(number): string