title: Using enum as a type/interface
body: <p>While converting an enumerator from JavaScript into TypeScript, I had to add my own enum - <code>myEnumType</code>.</p>
  
  <p>If I use such enum as a property type:</p>
  
  <pre><code>prop:myEnumType
  </code></pre>
  
  <p>it will be expected that the value must be of type <code>myEnumType</code>.</p>
  
  <p>How can we declare a property in TypeScript that represents the enum itself as a type, as opposed to a value of that type?</p>
  
  <p>I'm trying to expose the enum as a type, via an interface property.</p>