I get this error:

The same error when trying to compile:
c:\...\tsx-test>ntsc app/main.tsx
app/components/Note.tsx(13,31): error TS1180: Property destructuring pattern expected.
But I do not know what he expects. What is property syntax?
I am sure it works like ES6. Is the syntax different in TypeScript?
Please note that I am using TypeScript 1.5.3.
source
share