More about Typescript
- Type Script files are compiled into plain old Java Script so that they can run on anything that JS can.
- It is compiled rather than an interpreted language. Developers can find errors with greater precision before the code actually run.
- The type system is probably a little surprise. The static typing allows it to perform many advanced refactoring operations such as global renaming, reference searching and code completion.
- By enforcing a certain degree of correctness at the compile time, the static type system improves the code by making it easier to read.
- It can use both interfaces and classes and this feature results in giving shorter, easier to read and easier to debug code than the prototypes used by JS.
- Excellent editor integration. Once we add a few annotations, within seconds editor starts to light up with potential errors and suggestions.
- An insight into the existing behavior of the java script libraries can be gained as it allows the developers to define interfaces between software components.
- It is organized in an object oriented way, which makes it easier for OO programmers to use.