{"id":13496173,"url":"https://github.com/zhongsp/TypeScript","last_synced_at":"2025-03-28T18:31:41.533Z","repository":{"id":29142836,"uuid":"32672955","full_name":"zhongsp/TypeScript","owner":"zhongsp","description":"TypeScript 使用手册（中文版）翻译。http://www.typescriptlang.org","archived":false,"fork":false,"pushed_at":"2024-08-11T09:54:54.000Z","size":10295,"stargazers_count":7060,"open_issues_count":4,"forks_count":1117,"subscribers_count":251,"default_branch":"dev","last_synced_at":"2024-10-29T14:52:16.585Z","etag":null,"topics":["angular","angular2","javascript","javascript-typescript","react","ts","typescript","typescript-handbook","zh","zh-cn","zh-hans"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhongsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-22T11:32:47.000Z","updated_at":"2024-10-28T05:54:51.000Z","dependencies_parsed_at":"2024-11-19T05:31:35.830Z","dependency_job_id":null,"html_url":"https://github.com/zhongsp/TypeScript","commit_stats":{"total_commits":1139,"total_committers":57,"mean_commits":"19.982456140350877","dds":"0.23266022827041266","last_synced_commit":"f421569c4ead5dfabfeab4df6428605cd49eb3f2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongsp%2FTypeScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongsp%2FTypeScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongsp%2FTypeScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongsp%2FTypeScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhongsp","download_url":"https://codeload.github.com/zhongsp/TypeScript/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246080570,"owners_count":20720553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular2","javascript","javascript-typescript","react","ts","typescript","typescript-handbook","zh","zh-cn","zh-hans"],"created_at":"2024-07-31T19:01:43.372Z","updated_at":"2025-03-28T18:31:41.523Z","avatar_url":"https://github.com/zhongsp.png","language":"TypeScript","readme":"# TypeScript\n\n[![Build Status](https://travis-ci.org/zhongsp/TypeScript.svg?branch=master)](https://travis-ci.org/zhongsp/TypeScript) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n## 上新！\n\n之前有许多小伙伴提出希望能将该手册发布为**Book**，\n近来该项目又持续不断地有新的朋友关注，\n因此现将所有文档整理发布为**图书**样式。希望大家能够喜欢!\n\n线上阅读地址：[https://zhongsp.github.io/TypeScript](https://zhongsp.github.io/TypeScript)\n\n---\n\n\u003c!-- 🏮 祝所有开发者：牛年大吉！🏮 --\u003e\n\n\u003cimg src=\"./zh/misc/ts_logo.jpg\" alt=\"TypeScript\" width=\"24px\" height=\"24px\" style=\"vertical-align: bottom;\"\u003e [TypeScript 5.5 (2024 年 11 月 22 日)](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7)\n|\n[版本发布说明](zh/release-notes/typescript-5.7.md)\n\n:heavy_check_mark: TypeScript 语言用于大规模应用的 JavaScript 开发。 :heavy_check_mark: TypeScript 支持类型，是 JavaScript 的超集且可以编译成纯 JavaScript 代码。 :heavy_check_mark: TypeScript 兼容所有浏览器，所有宿主环境，所有操作系统。 :heavy_check_mark: TypeScript 是开源的。\n\n:new::new::new:\n\n\u003ca href=\"https://github.com/zhongsp/TypeScript/issues/310\"\u003e\u003cimg src=\"./zh/misc/ts-intro.png\" alt=\"TypeScript入门与实战\" width=\"200px\" height=\"200px\" style=\"vertical-align: bottom;\"\u003e\u003c/a\u003e `ISBN 9787111669722`\n\n各位朋友们，本人近期出版了[《TypeScript 入门与实战》](https://github.com/zhongsp/TypeScript/issues/310)一书。在该书中，尝试着尽可能完整地介绍 TypeScript 语言的基础知识，并结合了一些本人的使用经验和体会。它主要面向的是 TypeScript 语言的初级和中级使用者。\n\n本人还处于 TypeScript 语言的学习阶段，可能存在理解错误的地方，还请大家指正，一起进步。此外，由于这是本人人生中出版的第一本书，难免会有纰漏，请大家多多包涵！\n\n\u003cimg src=\"./zh/misc/reward.jpg\" alt=\"Reward the Author\" width=\"200px\" height=\"200px\" style=\"vertical-align: bottom;\"\u003e\n\n如果觉得不错可以微信打赏哟 \u003c3\n\n## 目录\n\n- [快速上手](zh/tutorials/README.md)\n  - [5 分钟了解 TypeScript](zh/tutorials/typescript-in-5-minutes.md)\n  - [ASP.NET Core](zh/tutorials/asp.net-core.md)\n  - [ASP.NET 4](zh/tutorials/asp.net-4.md)\n  - [Gulp](zh/tutorials/gulp.md)\n  - [Knockout.js](zh/tutorials/knockout.md)\n  - [React 与 webpack](zh/tutorials/react-and-webpack.md)\n  - [React](zh/tutorials/react.md)\n  - [Angular 2](zh/tutorials/angular-2.md)\n  - [从 JavaScript 迁移到 TypeScript](zh/tutorials/migrating-from-javascript.md)\n- [手册](zh/handbook/README.md)\n  - [基础类型](zh/handbook/basic-types.md)\n  - [接口](zh/handbook/interfaces.md)\n  - [函数](zh/handbook/functions.md)\n  - [字面量类型](zh/handbook/literal-types.md)\n  - [联合类型和交叉类型](zh/handbook/unions-and-intersections.md)\n  - [类](zh/handbook/classes.md)\n  - [枚举](zh/handbook/enums.md)\n  - [泛型](zh/handbook/generics.md)\n- [手册（进阶）](zh/reference/README.md)\n  - [高级类型](zh/reference/advanced-types.md)\n  - [实用工具类型](zh/reference/utility-types.md)\n  - [Decorators](zh/reference/decorators.md)\n  - [声明合并](zh/reference/declaration-merging.md)\n  - [Iterators 和 Generators](zh/reference/iterators-and-generators.md)\n  - [JSX](zh/reference/jsx.md)\n  - [混入](zh/reference/mixins.md)\n  - [模块](zh/reference/modules.md)\n  - [模块解析](zh/reference/module-resolution.md)\n  - [命名空间](zh/reference/namespaces.md)\n  - [命名空间和模块](zh/reference/namespaces-and-modules.md)\n  - [Symbols](zh/reference/symbols.md)\n  - [三斜线指令](zh/reference/triple-slash-directives.md)\n  - [类型兼容性](zh/reference/type-compatibility.md)\n  - [类型推论](zh/reference/type-inference.md)\n  - [变量声明](zh/reference/variable-declarations.md)\n- 手册（v2）\n  - [模版字面量类型](zh/handbook-v2/type-manipulation/template-literal-types.md)\n- [如何书写声明文件](zh/declaration-files/README.md)\n  - [介绍](zh/declaration-files/introduction.md)\n  - [举例](zh/declaration-files/by-example.md)\n  - [库结构](zh/declaration-files/library-structures.md)\n  - [模板](zh/declaration-files/templates.md)\n  - [最佳实践](zh/declaration-files/do-s-and-don-ts.md)\n  - [深入](zh/declaration-files/deep-dive.md)\n  - [发布](zh/declaration-files/publishing.md)\n  - [使用](zh/declaration-files/consumption.md)\n- JavaScript\n  - [JavaScript 文件里的类型检查](zh/javascript/type-checking-javascript-files.md)\n- [工程配置](zh/project-config/README.md)\n  - [tsconfig.json](zh/project-config/tsconfig.json.md)\n  - [工程引用](zh/project-config/project-references.md)\n  - [NPM 包的类型](zh/project-config/typings-for-npm-packages.md)\n  - [编译选项](zh/project-config/compiler-options.md)\n  - [配置 Watch](zh/project-config/configuring-watch.md)\n  - [在 MSBuild 里使用编译选项](zh/project-config/compiler-options-in-msbuild.md)\n  - [与其它构建工具整合](zh/project-config/integrating-with-build-tools.md)\n  - [使用 TypeScript 的每日构建版本](zh/project-config/nightly-builds.md)\n- [Wiki](zh/wiki/README.md)\n  - [TypeScript 里的 this](zh/wiki/this-in-typescript.md)\n  - [编码规范](zh/wiki/coding_guidelines.md)\n  - [常见编译错误](zh/wiki/common-errors.md)\n  - [支持 TypeScript 的编辑器](zh/wiki/typescript-editor-support.md)\n  - [结合 ASP.NET v5 使用 TypeScript](zh/wiki/using-typescript-with-asp.net-5.md)\n  - [架构概述](zh/wiki/architectural-overview.md)\n  - [发展路线图](zh/wiki/roadmap.md)\n- [新增功能](zh/release-notes/README.md)\n  - [TypeScript 5.7](zh/release-notes/typescript-5.7.md)\n  - [TypeScript 5.6](zh/release-notes/typescript-5.6.md)\n  - [TypeScript 5.5](zh/release-notes/typescript-5.5.md)\n  - [TypeScript 5.4](zh/release-notes/typescript-5.4.md)\n  - [TypeScript 5.3](zh/release-notes/typescript-5.3.md)\n  - [TypeScript 5.2](zh/release-notes/typescript-5.2.md)\n  - [TypeScript 5.1](zh/release-notes/typescript-5.1.md)\n  - [TypeScript 5.0](zh/release-notes/typescript-5.0.md)\n  - [TypeScript 4.9](zh/release-notes/typescript-4.9.md)\n  - [TypeScript 4.8](zh/release-notes/typescript-4.8.md)\n  - [TypeScript 4.7](zh/release-notes/typescript-4.7.md)\n  - [TypeScript 4.6](zh/release-notes/typescript-4.6.md)\n  - [TypeScript 4.5](zh/release-notes/typescript-4.5.md)\n  - [TypeScript 4.4](zh/release-notes/typescript-4.4.md)\n  - [TypeScript 4.3](zh/release-notes/typescript-4.3.md)\n  - [TypeScript 4.2](zh/release-notes/typescript-4.2.md)\n  - [TypeScript 4.1](zh/release-notes/typescript-4.1.md)\n  - [TypeScript 4.0](zh/release-notes/typescript-4.0.md)\n  - [TypeScript 3.9](zh/release-notes/typescript-3.9.md)\n  - [TypeScript 3.8](zh/release-notes/typescript-3.8.md)\n  - [TypeScript 3.7](zh/release-notes/typescript-3.7.md)\n  - [TypeScript 3.6](zh/release-notes/typescript-3.6.md)\n  - [TypeScript 3.5](zh/release-notes/typescript-3.5.md)\n  - [TypeScript 3.4](zh/release-notes/typescript-3.4.md)\n  - [TypeScript 3.3](zh/release-notes/typescript-3.3.md)\n  - [TypeScript 3.2](zh/release-notes/typescript-3.2.md)\n  - [TypeScript 3.1](zh/release-notes/typescript-3.1.md)\n  - [TypeScript 3.0](zh/release-notes/typescript-3.0.md)\n  - [TypeScript 2.9](zh/release-notes/typescript-2.9.md)\n  - [TypeScript 2.8](zh/release-notes/typescript-2.8.md)\n  - [TypeScript 2.7](zh/release-notes/typescript-2.7.md)\n  - [TypeScript 2.6](zh/release-notes/typescript-2.6.md)\n  - [TypeScript 2.5](zh/release-notes/typescript-2.5.md)\n  - [TypeScript 2.4](zh/release-notes/typescript-2.4.md)\n  - [TypeScript 2.3](zh/release-notes/typescript-2.3.md)\n  - [TypeScript 2.2](zh/release-notes/typescript-2.2.md)\n  - [TypeScript 2.1](zh/release-notes/typescript-2.1.md)\n  - [TypeScript 2.0](zh/release-notes/typescript-2.0.md)\n  - [TypeScript 1.8](zh/release-notes/typescript-1.8.md)\n  - [TypeScript 1.7](zh/release-notes/typescript-1.7.md)\n  - [TypeScript 1.6](zh/release-notes/typescript-1.6.md)\n  - [TypeScript 1.5](zh/release-notes/typescript-1.5.md)\n  - [TypeScript 1.4](zh/release-notes/typescript-1.4.md)\n  - [TypeScript 1.3](zh/release-notes/typescript-1.3.md)\n  - [TypeScript 1.1](zh/release-notes/typescript-1.1.md)\n- [Breaking Changes](zh/breaking-changes/README.md)\n  - [TypeScript 3.6](zh/breaking-changes/typescript-3.6.md)\n  - [TypeScript 3.5](zh/breaking-changes/typescript-3.5.md)\n  - [TypeScript 3.4](zh/breaking-changes/typescript-3.4.md)\n  - [TypeScript 3.2](zh/breaking-changes/typescript-3.2.md)\n  - [TypeScript 3.1](zh/breaking-changes/typescript-3.1.md)\n  - [TypeScript 3.0](zh/breaking-changes/typescript-3.0.md)\n  - [TypeScript 2.9](zh/breaking-changes/typescript-2.9.md)\n  - [TypeScript 2.8](zh/breaking-changes/typescript-2.8.md)\n  - [TypeScript 2.7](zh/breaking-changes/typescript-2.7.md)\n  - [TypeScript 2.6](zh/breaking-changes/typescript-2.6.md)\n  - [TypeScript 2.4](zh/breaking-changes/typescript-2.4.md)\n  - [TypeScript 2.3](zh/breaking-changes/typescript-2.3.md)\n  - [TypeScript 2.2](zh/breaking-changes/typescript-2.2.md)\n  - [TypeScript 2.1](zh/breaking-changes/typescript-2.1.md)\n  - [TypeScript 2.0](zh/breaking-changes/typescript-2.0.md)\n  - [TypeScript 1.8](zh/breaking-changes/typescript-1.8.md)\n  - [TypeScript 1.7](zh/breaking-changes/typescript-1.7.md)\n  - [TypeScript 1.6](zh/breaking-changes/typescript-1.6.md)\n  - [TypeScript 1.5](zh/breaking-changes/typescript-1.5.md)\n  - [TypeScript 1.4](zh/breaking-changes/typescript-1.4.md)\n\n**TypeScript 手册官方英文版**\n\n- [TypeScript 手册（英文版）](http://www.typescriptlang.org/docs/home.html)\n\n**TypeScript 语言规范**\n\n- [TypeScript 语言规范](https://github.com/microsoft/TypeScript/blob/master/doc/spec-ARCHIVED.md)\n\n期待你为翻译做出贡献:)\n","funding_links":[],"categories":["Typescript","TypeScript","知识库/教程","Books"],"sub_categories":["Admin Template \u0026 Component Library"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongsp%2FTypeScript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhongsp%2FTypeScript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongsp%2FTypeScript/lists"}