Creating the Map from an array is the way to go here: if you use a temporary object in between, the keys are converted to string.
const m = Map([[10,'ten']])
m.get(10)
// 'ten'
https://immutable-js.com/play/#Y29uc3QgbSA9IE1hcChbWzEwLCd0ZW4nXV0pCm0uZ2V0KDEwKQ==