I'm getting this error:
Same error when I try to compile:
c:\...\tsx-test>ntsc app/main.tsx
app/components/Note.tsx(13,31): error TS1180: Property destructuring pattern expected.
But I don't know what it's expecting. What's the property syntax?
I'm pretty sure this works as-is in ES6. Is the syntax different in TypeScript?
Note that I'm using TypeScript 1.5.3.