To explicitly declare a function datatype you use keyword var, the variable name, a colon, the parameter list, a fat arrow (=>), and the function's return type. For example, to declare a variable ...
There are lots of enhancements waiting for you in TypeScript 1.8, including features that make it easier to move your project to TypeScript, that protect you from errors and that give you even better ...