- Switching to Angular(Third Edition)
- Minko Gechev
- 175字
- 2021-07-02 15:23:35
TypeScript Crash Course
In this chapter, we will start working with TypeScript: the language Angular is written with. All the features that ECMAScript 2015 and ECMAScript 2016 provide, such as functions, classes, modules, and decorators, are already implemented in or added to the roadmap of TypeScript. Because of the extra type annotations, there are some syntactical additions compared to JavaScript.
Being already familiar with AngularJS and subsequently ES5, we'll go through a process of smooth transition to TypeScript. We'll start by introducing ES2015 and ES2016. As we mentioned previously, TypeScript is a superset of these new ECMAScript standards, which means that by learning the new versions of JavaScript you'll also learn very important bits of TypeScript. In the second half of the chapter, we'll add the extra syntax for explicit type annotations.
Later in this chapter, we will explain the extra features TypeScript provides, such as static typing and extra syntax. We will discuss the different consequences based on these features, which will help us to be more productive and less error-prone. Let's get going!
- 演進式架構(gòu)(原書第2版)
- Intel Galileo Essentials
- Building Modern Web Applications Using Angular
- Java編程技術(shù)與項目實戰(zhàn)(第2版)
- Linux命令行與shell腳本編程大全(第4版)
- Clojure Reactive Programming
- C語言程序設(shè)計教程
- 計算機應(yīng)用基礎(chǔ)實踐教程
- Learning OpenStack Networking(Neutron)(Second Edition)
- Procedural Content Generation for C++ Game Development
- C# Multithreaded and Parallel Programming
- Android傳感器開發(fā)與智能設(shè)備案例實戰(zhàn)
- SQL Server 2008中文版項目教程(第3版)
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- C#面向?qū)ο蟪绦蛟O(shè)計(第2版)