Typescript Max Number In Array