title: How to fix "property destructuring pattern expected" error?
body: <p>I'm getting this error:</p>
  
  <p><img src="https://i.imgur.com/o9KCMkv.png" alt="vscode screenshot"></p>
  
  <p>Same error when I try to compile:</p>
  
  <pre><code>c:\...\tsx-test&gt;ntsc app/main.tsx
  app/components/Note.tsx(13,31): error TS1180: Property destructuring pattern expected.
  </code></pre>
  
  <p>But I don't know what it's expecting. What's the property syntax?</p>
  
  <p>I'm pretty sure this works as-is in ES6. Is the syntax different in TypeScript?</p>
  
  <p>Note that I'm using TypeScript 1.5.3.</p>