I'm writing an app in TypeScript, and it would be nice to have definitions to aid in syntax completion, etc. Provided that you're open to this, I'll finish what I've written so far and submit a pull request.