title: The property 'someProp' does not exist on value of type 'object' in Typescript
body: <p>I have a JSON object returned to me from an $.ajax call.  I get my object from my response like so:</p>
  
  <pre><code>var parsedJSON = $.parseJSON(jqXHR.responseText);
  </code></pre>
  
  <p>The object itself that gets passed from the server has a ResponseStatus property, and in that ResponseStatus property, there is an ErrorCode and Message.  I thought I'd just be able to do this:</p>
  
  <pre><code>var r = parsedJSON.ResponseStatus;
  </code></pre>
  
  <p>But I get the error: <code>The property 'ResponseStatus' does not exist on value of type 'object'</code></p>
  
  <p>Because this is typescript, when I try to save the file and then have VS create my Javascript, it won't.  </p>
  
  <p>Am I missing something super obvious here?  I can create an interface and cast the object to the interface like this:</p>
  
  <pre><code>var parsedJSON: IHttpResponseStatus = &lt;IHttpResponseStatus&gt; $.parseJSON(jqXHR.responseText);
  var r = parsedJSON.ResponseStatus;
  </code></pre>
  
  <p>But this seems like overkill to get a property, and pretty wrong.  Thanks in advance.</p>
  
  <p>Edit: Oh nevermind, you can use array notation and TS doesn't care.  Whoops!</p>