When using TypeScript, I expect the map type to be either a number or string, but unfortunately, an error is being reported.
const map: Map<string, string | number> = new Map([
[
'1',
'1',
],
[
'2',
1,
],
]);
error: No overload matches this call.