• Chinese version of TypeScript Tutorial – Project introduction
  • TypeScript Tutorial Chinese version – Section 0. preface
  • TypeScript Tutorial Chinese version – Section 1. An introduction to
  • TypeScript Tutorial Chinese version – Section 2. Basic types of
  • TypeScript Tutorial Chinese version – Section 3. Control flow statement
  • TypeScript Tutorial Chinese – Section 4. function
  • TypeScript Tutorial Chinese version – Section 5. class
  • TypeScript Tutorial Chinese version – Section 6. interface
  • TypeScript Tutorial Chinese version – Section 7. High-level types
  • TypeScript Tutorial Chinese version – Section 8. The generic
  • TypeScript Tutorial Chinese version – Section 9. The module
  • Chinese version of TypeScript Tutorial – Section 10.node.js

Section 0. Preface

TypeScript tutorial

The original address

TypeScript is a JavaScript language with a type system. By adding types to JavaScript, TypeScript can catch errors before JavaScript code is run and improve development efficiency.

TypeScript is an open source programming language built on top of the JavaScript language. TypeScript works in any browser, any operating system, and any environment where JavaScript works.

In this TypeScript tutorial, you’ll learn the following:

  • What advantages TypeScript has over native JavaScript;
  • Know what TypeScript really means and how it works;
  • Use TypeScript’s rich language features, such as types, classes, interfaces, modules, and so on.

requirements

In order to follow this tutorial, you will need to:

  • JavaScript language basics, if you want to learn JavaScript, head over to modern JavaScript tutorials;
  • Knowledge of ECMAScript 2015 or ES6.

Pay attention to

The JavaScript Tutorial, a website that points to JavaScript related knowledge in the Tutorial, found that it could not be opened, so it changed them to address similar content in modern JavaScript tutorials.

Ruan yifeng’s ES6 tutorial is also recommended.

The translator to leave a message

Not all translations of this tutorial are literal, and some of them will be tweaked if they don’t feel like they’re going well.

Because the level is limited, the translation is not good place welcome to point out.

Thank you very much for reading. You can express your support through wechat appreciation code: