I have array. I want to create an object with properties of the array with specific type for each of them.

```
export interface SomeNumbers {
  name: string;
  value: number;
}
const arr = ['first', 'second', 'third'];

const objectOfValues = {}; // HOW TO SET A TYPE HERE?

arr.forEach((val, index) => {
  objectOfValues[val]= {
    name: val,
    value: index
  };
});

```