Why this definition is all right
interface ErrorContainerNum2 {
id: string;
[prop: number]: number;
}
and this definition vscode complaints "Property 'id' of type 'number' is not assignable to 'string' index type 'string'"?
interface ErrorContainerNum3 {
id: number;
[prop: string]: string;
}