param value param length const fillWithZeros = ( value , length ) : string => { let numbers = value . toString ( 10 ) ; while ( numbers . length < length ) numbers = '0' + numbers ; return numbers ; } ; export default fillWithZeros ;