Typescript Get Max Value From Hashmap