title: Is there a simple way to get a list of keys/numbers from enum in typescript?
body: <p>I would like a simple way to get a list of keys from an enumerator, I tried Object.keys, but it returned 6 keys, 0-5, I think it occours because when I tried foreach the enum, this returned keys and values list, is there a simple way to return only keys, I would not like to return to mount and return another list.</p>
  
  <p>I will use this with react</p>
  
  <p>My enum:</p>
  
  <pre><code>enum ObservationType {
      Accomodation = 1,
      Addtional = 2,
      LandTransport = 3
  }
  </code></pre>
  
  <p>Sample that I tried and returned six values:</p>
  
  <pre><code>{Object.keys(ObservationType).map((type) =&gt; &lt;div&gt;{type}&lt;/div&gt;)}
  </code></pre>