TypeScript 基础知识项目指南

注意:本项目基于 2019 年发布的 TypeScript 基础研讨会(使用 TypeScript 3.x)。如果您正在寻找 2017 年发布的 1.x 版本,请访问此处

项目概述

本项目包含 FrontendMasters TypeScript 基础研讨会的示例代码和练习。

环境配置

  1. 安装 Node.js: 访问 https://nodejs.org/ 下载并安装 Node.js。
  2. 克隆项目: bash git clone https://github.com/mike-works/typescript-fundamentals.git cd typescript-fundamentals
  3. 安装依赖: bash yarn

版权声明

本项目代码使用 BSD 3 条款许可证。但研讨会内容受版权保护,仅供个人学习使用。

zip
FrontendMasters-TypeScript-Fundamentals-master.zip 预估大小:62个文件
folder
FrontendMasters-TypeScript-Fundamentals-master 文件夹
file
.gitignore 78B
file
.eslintrc 482B
file
package.json 2KB
file
.travis.yml 748B
file
LICENSE 1KB
folder
notes 文件夹
file
6-guards-and-extreme-types.ts 5KB
file
1-basics.ts 3KB
file
package.json 141B
file
7-advanced-types.ts 2KB
file
tsconfig.json 255B
file
3-interface-type-basics.ts 3KB
file
2-function-basics.ts 3KB
file
5-generics-basics.ts 4KB
file
9-compiler-api.ts 2KB
file
4-class-basics.ts 3KB
file
8-declaration-merging.ts 2KB
file
CHANGELOG.md 1KB
file
tsconfig.json 290B
file
lerna.json 119B
folder
.github 文件夹
folder
ISSUE_TEMPLATE 文件夹
file
bug_report.md 1KB
file
feature_request.md 560B
folder
examples 文件夹
folder
hello-ts 文件夹
file
package.json 511B
folder
src 文件夹
file
index.js 585B
file
index.ts 456B
file
tsconfig.json 488B
file
README.md 317B
file
ts.code-workspace 2KB
file
README.md 4KB
file
exerciseLICENSE 1KB
folder
challenges 文件夹
folder
json-types 文件夹
file
package.json 388B
folder
src 文件夹
file
index.ts 61B
file
tsconfig.json 287B
folder
test 文件夹
file
json-types.test.ts 867B
file
tslint.json 157B
file
tsconfig.json 519B
file
index.d.ts 58B
folder
dict 文件夹
file
package.json 448B
folder
src 文件夹
file
index.ts 1KB
file
tsconfig.json 72B
folder
test 文件夹
file
mocha.opts 124B
file
dict.test.ts 3KB
folder
address-book 文件夹
file
package.json 344B
folder
src 文件夹
file
index.ts 3KB
file
tsconfig.json 245B
file
README.md 317B
folder
test 文件夹
file
address-book.test.ts 7KB
file
mocha.opts 128B
folder
advanced-types 文件夹
file
package.json 402B
folder
src 文件夹
file
index.ts 2KB
file
tsconfig.json 287B
folder
test 文件夹
file
tslint.json 175B
file
mix.test.ts 639B
file
tsconfig.json 531B
file
optional-property-names-of.test.ts 706B
file
required-property-names-of.test.ts 710B
file
extract-property-names-assignable-to.test.ts 848B
file
index.d.ts 58B
folder
slides 文件夹
file
Wider vs Narrower.png 413KB
file
Object Shapes.png 392KB
file
Type Sytems & Type Equivalence.png 578KB
file
renovate.json 98B
file
yarn.lock 330KB
...
zip 文件大小:1.48MB