title: map.get is not a function while retrieving a value from a map in typescript
body: <p>I am having a map with key and value as strings. However when trying to retrieve a value based on the key it is throwing error .</p>
  <p>the following is my code snippet.</p>
  <pre><code>let map:Map&lt;string, string&gt; =  {  [ &quot;key1&quot;: &quot;hello world 1&quot; ], [&quot;key2&quot;: &quot;hello world 2&quot;] } ;
  alert( JSON.stringify(map.get(&quot;key&quot;))  );
  </code></pre>
  <p>the exception i got below is as follows.</p>
  <pre><code>VM133:4 Uncaught TypeError: map.get is not a function
      at eval (eval at exec (typescript.js:41), &lt;anonymous&gt;:4:26)
      at exec (typescript.js:41)
      at HTMLDocument.runScripts (typescript.js:41)
  </code></pre>
  <p>appreciate if you can tell me what am I doing wrong</p>
  <p>thank you</p>