Forcing array to have at least one value in Typescript

Try this

type value = "1" | "2";

export interface ISomething {
  values: {
    0: value,
    [key: number]: value,
  }
}``