TypeScript-Handbook-RU 项目教程
1. 项目的目录结构及介绍
TypeScript-Handbook-RU/
├── README.md
├── docs/
│ ├── The Basics.md
│ ├── Everyday Types.md
│ ├── Narrowing.md
│ ├── More on Functions.md
│ ├── Object Types.md
│ ├── Type Manipulation.md
│ ├── Creating Types from Types.md
│ ├── Generics.md
│ ├── Keyof Type Operator.md
│ ├── Typeof Type Operator.md
│ ├── Indexed Access Types.md
│ ├── Conditional Types.md
│ ├── Mapped Types.md
│ ├── Template Literal Types.md
│ ├── Classes.md
│ ├── Modules.md
│ ├── Reference.md
│ ├── Utility Types.md
│ ├── Cheat Sheets.md
│ ├── Decorators.md
│ ├── Declaration Merging.md
│ ├── Enums.md
│ ├── Iterators and Generators.md
│ ├── JSX.md
│ ├── Mixins.md
│ ├── Namespaces.md
│ ├── Namespaces and Modules.md
│ ├── Symbols.md
│ ├── Triple-Slash Directives.md
│ ├── Type Compatibility.md
│ ├── Type Inference.md
│ └── Variable Declaration.md
└── package.json
目录结构介绍
README.md
: 项目介绍文件。docs/
: 包含所有TypeScript手册的文档文件。The Basics.md
: TypeScript基础知识。Everyday Types.md
: 日常类型。Narrowing.md
: 类型收窄。More on Functions.md
: 更多关于函数的内容。Object Types.md
: 对象类型。Type Manipulation.md
: 类型操作。Creating Types from Types.md
: 从类型创建类型。Generics.md
: 泛型。Keyof Type Operator.md
: Keyof类型操作符。Typeof Type Operator.md
: Typeof类型操作符。Indexed Access Types.md
: 索引访问类型。Conditional Types.md
: 条件类型。Mapped Types.md
: 映射类型。Template Literal Types.md
: 模板字面量类型。Classes.md
: 类。Modules.md
: 模块。Reference.md
: 参考资料。Utility Types.md
: 工具类型。Cheat Sheets.md
: 速查表。Decorators.md
: 装饰器。Declaration Merging.md
: 声明合并。Enums.md
: 枚举。Iterators and Generators.md
: 迭代器和生成器。JSX.md
: JSX。Mixins.md
: 混入。Namespaces.md
: 命名空间。Namespaces and Modules.md
: 命名空间和模块。Symbols.md
: 符号。Triple-Slash Directives.md
: 三斜杠指令。Type Compatibility.md
: 类型兼容性。Type Inference.md
: 类型推断。Variable Declaration.md
: 变量声明。
package.json
: 项目的配置文件。
2. 项目的启动文件介绍
项目没有明确的启动文件,因为这是一个文档项目,主要内容在docs/
目录下的Markdown文件中。
3. 项目的配置文件介绍
package.json
{
"name": "TypeScript-Handbook-RU",
"version": "1.0.0",
"description": "Учебник по Typescript",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gooddaytoday/TypeScript-Handbook-RU.git"
},
"author":