TypeScript: fixed syntax, it wasn't TypeScript at all
Merge pull request #701 from thorn0/patch-1

TypeScript: fixed syntax, it wasn't TypeScript at all