1

Something like:

type MixedMap = {
  id: string,
  [key: string]: number
}

id has a different type from the map, but it is just that property that I want to be different

Wil
  • 11
  • 1

0 Answers0