title: Comparing value to enum isn't obvious in TypeScript
body: <p>I have very straightforward code:</p>
  
  <pre><code>enum Color { BLUE, RED }
  
  class Brush { 
      color: Color
  
      constructor(values) { 
          this.color = values.color
      }
  }
  
  let JSON_RESPONSE = `{"color": "BLUE"}`
  
  let brush = new Brush(JSON.parse(JSON_RESPONSE))
  </code></pre>
  
  <p>Now I want to make a check:</p>
  
  <pre><code>console.log(brush.color === Color.BLUE)
  </code></pre>
  
  <p>And it returns <code>false</code>.</p>
  
  <p>I tried a few combinations like </p>
  
  <pre><code>brush.color === Color[Color.BLUE]
  </code></pre>
  
  <p>But, of course, got a compiler error.</p>
  
  <p>The question is how to make quite a <em>basic</em> comparison <code>enum === enum</code>?</p>