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
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