• Stars
    star
    10,273
  • Rank 3,211 (Top 0.07 %)
  • Language
    TypeScript
  • Created about 8 years ago
  • Updated 15 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TypeScript 入门教程
next
introduction/README.md

TypeScript 入门教程

Actions Status

从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript。

关于本书

本书是作者在学习 TypeScript 后整理的学习笔记。

随着对 TypeScript 理解的加深和 TypeScript 社区的发展,本书也会做出相应的更新,欢迎大家 Star 收藏

  • 发现文章内容有问题,可以直接在页面下方评论
  • 对项目的建议,可以提交 issue 向作者反馈
  • 欢迎直接提交 pull-request 参与贡献

为什么要写本书

TypeScript 虽然有官方手册及其非官方中文版,但是它每一章都希望能详尽的描述一个概念,导致前面的章节就会包含很多后面才会学习到的内容,而有些本该一开始就了解的基础知识却在后面才会涉及。如果是初学者,可能需要阅读多次才能理解。所以它更适合用来查阅,而不是学习。

与官方手册不同,本书着重于从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript,希望能给大家一些帮助和启示。

由于一些知识点与官方手册重合度很高,本书会在相应章节推荐直接阅读中文手册。

关于 TypeScript

TypeScript 是 JavaScript 的一个超集,主要提供了类型系统对 ES6 的支持,它由 Microsoft 开发,代码开源于 GitHub 上。

它的第一个版本发布于 2012 年 10 月,经历了多次更新后,现在已成为前端社区中不可忽视的力量,不仅在 Microsoft 内部得到广泛运用,而且 Google 开发的 Angular 从 2.0 开始就使用了 TypeScript 作为开发语言,Vue 3.0 也使用 TypeScript 进行了重构。

适合人群

本书适合以下人群

本书不适合以下人群

  • 没有系统学习过 JavaScript
  • 已经能够很熟练的运用 TypeScript

评价

《TypeScript 入门教程》全面介绍了 TypeScript 强大的类型系统,完整而简洁,示例丰富,比官方文档更易读,非常适合作为初学者学习 TypeScript 的第一本书。

—— 阮一峰

版权许可

本书采用「保持署名—非商用」创意共享 4.0 许可证。

只要保持原作者署名和非商用,您可以自由地阅读、分享、修改本书。

详细的法律条文请参见创意共享网站。

相关资料

More Repositories

1

pagic

A static site generator powered by Deno + React
JavaScript
1,627
star
2

react-ie8

Make your React app work in IE8
999
star
3

chatgpt-next

微信风格的 ChatGPT,使用 Next.js 构建,私有化部署的最佳选择!
TypeScript
747
star
4

jekyllcn

Jekyll 的中文翻译网站
Ruby
470
star
5

cqc

Code Quality Checker - Check your code quality by running one command.
JavaScript
325
star
6

leetcode

My LeetCode Solutions
JavaScript
315
star
7

mazimd

码字 md • 干净精致的 Markdown 编辑器
JavaScript
121
star
8

123

The personal front page
CSS
72
star
9

blog

流浪小猫的博客
TypeScript
72
star
10

awesome-json2json

An awesome json to json data mapper
JavaScript
67
star
11

V2HOT

V2HOT is an iOS App made by @xcatliu, powered by React Native.
JavaScript
55
star
12

xcatliu

About me
TypeScript
54
star
13

react-select-pinyin

React 选择控件(支持拼音搜索)
JavaScript
31
star
14

awesome-aigc

30
star
15

buy-me-a-coffee

☕ Buy me a coffee
29
star
16

hexo-theme-wiki-i18n

A hexo theme for i18n wiki site
HTML
28
star
17

xzoo

可爱的动物头像,为你设计。 Lovely animal avatars, designed for you.
26
star
18

js-index

🔠 The index of everything about JavaScript
HTML
24
star
19

simplemde-theme-base

The base theme for SimpleMDE, you can easily build your custom theme based on this.
CSS
22
star
20

full-color-screen

Display a solid color across the entire display.
22
star
21

hexo-filter-date-from-git

Read git log and overwrite the front-matter properties `date` and `updated` for each posts
JavaScript
13
star
22

goodbye-ie8

Goodbye IE8
HTML
13
star
23

pagic_template_docs

Use this template to create a Pagic site with the docs theme
TypeScript
12
star
24

etype

Extra types for TypeScript
JavaScript
11
star
25

simplemde-theme-dark

The dark theme of SimpleMDE
CSS
11
star
26

grubbs

Online Grubbs' test for outliers
JavaScript
11
star
27

add-eslint-comment

Add ESLint comment per file according to the ESLint result.
JavaScript
9
star
28

mangastream

A wordpress theme for mangastream
PHP
7
star
29

spells

360 Spells of 360 Colors
JavaScript
7
star
30

react-errors

Show errors on the top-right
JavaScript
6
star
31

the-war-of-colors

JavaScript
6
star
32

ts-react

TypeScript React Boilerplate
TypeScript
6
star
33

insert-tag

Insert tag to the specific position of a html string
TypeScript
5
star
34

Thinking-in-React

An implement for Thinking in React
JavaScript
5
star
35

hexo-generator-index-i18n

I18n index generator plugin for Hexo
JavaScript
5
star
36

the-secret-of-maintaining-100000-lines-of-javascript-code

维护十万行 JavaScript 代码的秘诀
5
star
37

rose

Give your love a rose
HTML
4
star
38

light-stick

拍一个创意炫彩照,俘获妹子芳心
CSS
4
star
39

mazimd-api

The api server for mazimd
JavaScript
3
star
40

geocn

中国最完整最精确的行政区划数据与应用平台
2
star
41

smart-serialize

Serialize any object, stringify, print to console, and write to clipboard
JavaScript
2
star
42

hexo-filter-author-from-git

Read git log and add the properties `author` and `contributors` for each posts
JavaScript
2
star
43

typescript-travis-ci

JavaScript
2
star
44

fe-dotfiles

dotfiles for my front-end projects
JavaScript
2
star
45

codeeval

My codeeval solutions
JavaScript
2
star
46

removethem

RemoveThem 一款有趣的Web游戏
JavaScript
1
star
47

github2p

Generate any github repo to web pages in one second.
1
star
48

learning-react

The way I learning react.
JavaScript
1
star
49

rematch-typescript

1
star
50

react-gmap

Google Maps component for React
JavaScript
1
star
51

xcombo

A NodeJS combo server
1
star
52

xcatblog

Xcatblog is a blog system, isomorphic application, the React way.
JavaScript
1
star
53

C

Learning C
1
star
54

LICENSES

1
star
55

react-boilerplate

1
star
56

v2hot.trash

JavaScript
1
star
57

xduck

JavaScript
1
star
58

timeout

1
star
59

require-uncache

Remove all cached files associated with the module.
JavaScript
1
star
60

react-github-buttons

1
star
61

react-input-file

An `<input type="file"/>` implement which support dragging files from desktop
1
star
62

hexo-theme-xcatliu

CSS
1
star
63

xImage

A html5 canvas image editor.
1
star
64

Todo-Hodgepodge

Todo Apps collections wrote with different program languages and different database systems.
1
star
65

xtree

A skill tree system.
JavaScript
1
star
66

react-select2

1
star
67

react-webpack-redux-react-router

1
star
68

fepost

JavaScript
1
star
69

6rainbow

TypeScript
1
star