I'm working with a couple of others on new support in NetBeans IDE for ECMAScript 6. TypeScript is a strict superset of ECMAScript 6 and looks as follows, right now, in the ECMAScript 6 editor that is in progress. Click to enlarge to see the whole context:
Notice several other features relating to TypeScript that are being worked on above.
Please fork, extend, etc. Let's make this a great new feature for NetBeans IDE together.