IntelliJ supports TypeScript! http://www.jetbrains.com/idea/webhelp/typescript-support.htm...
// function signature
getNumber(context: any, callback: (result: Number) => void);
// calling that function
// unfortunately, here the type of num is any
// unless I specify it manually
getNumber(..., (num) => { ... });
Visual Studio figured out the type on its own.