When attempting to initialize the following Map in typescript, I noticed that it appears empty when printed out.
let map: Map<string, object> = new Map<string, object> ([
[
"api/service/method",
{
uriPath: {}
}
],
[
"\"type\": \"html\"",
{
body: {}
}
]
]);
console.log(JSON.stringify(map));
// Output shows {}
// However, the initialized values are not displayed