[typescript] How to use Object.values with typescript?