TypeScript. Angular 2

Dmytro Golysh

EPAM FrontCamp

History

TypeScript was first made public in October 2012 (at version 0.8), after two years of internal development at Microsoft

 Anders Hejlsberg, lead architect of C# and creator of Delphi and Turbo Pascal, has worked on the development of TypeScript

Language benefits

  • OOP, Classes support
  • Modules
  • Static type checking
  • Search errors on preparing stage at compilation time
  • ES6 feature support
  • Similar syntax to BE languages, such as: C#, Java
  • Superset of JavaScript

Types

Types

Types

Types

Types

Namespaces

And many other interesting stuff

Angular 2 Pros:

 

Component based

Performance

TypeScript

No scope, controller

No digest cycle

CSS encapsulation

Server side rendering

Reactive

Useful links:

Thanks

and let's try to use it

TypeScript. Angular 2

By Dmytro Golysh

TypeScript. Angular 2

For FrontCamp

  • 596