[![Build Status](https://travis-ci.org/Microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/Microsoft/TypeScript)
[![npm version](https://badge.fury.io/js/typescript.svg)](http://badge.fury.io/js/typescript)
[![Downloads](http://img.shields.io/npm/dm/TypeScript.svg)](https://npmjs.org/package/typescript)
# TypeScript
[![Join the chat at https://gitter.im/Microsoft/TypeScript](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[TypeScript](http://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types, classes, and modules to JavaScript. TypeScript supports tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](http://www.typescriptlang.org/Playground), and stay up to date via [our blog](http://blogs.msdn.com/typescript) and [Twitter account](https://twitter.com/typescriptlang).
## Installing
For the latest stable version:
```
npm install -g typescript
```
For our nightly builds:
```
npm install -g typescript@next
```
## Contribute
There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.
* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).
* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript).
* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.
* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).
* Read the language specification ([docx](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true), [pdf](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.pdf?raw=true), [md](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)).
## Documentation
* [Quick tutorial](http://www.typescriptlang.org/Tutorial)
* [Programming handbook](http://www.typescriptlang.org/Handbook)
* [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
* [Homepage](http://www.typescriptlang.org/)
## Building
In order to build the TypeScript compiler, ensure that you have [Git](http://git-scm.com/downloads) and [Node.js](http://nodejs.org/) installed.
Clone a copy of the repo:
```
git clone https://github.com/Microsoft/TypeScript.git
```
Change to the TypeScript directory:
```
cd TypeScript
```
Install Jake tools and dev dependencies:
```
npm install -g jake
npm install
```
Use one of the following to build and test:
```
jake local # Build the compiler into built/local
jake clean # Delete the built compiler
jake LKG # Replace the last known good with the built one.
# Bootstrapping step to be executed when the built compiler reaches a stable state.
jake tests # Build the test infrastructure using the built compiler.
jake runtests # Run tests using the built compiler and test infrastructure.
# You can override the host or specify a test for this command.
# Use host=<hostName> or tests=<testPath>.
jake runtests-browser # Runs the tests using the built run.js file. Syntax is jake runtests. Optional
parameters 'host=', 'tests=[regex], reporter=[list|spec|json|<more>]'.
jake baseline-accept # This replaces the baseline test results with the results obtained from jake runtests.
jake lint # Runs tslint on the TypeScript source.
jake -T # List the above commands.
```
## Usage
```shell
node built/local/tsc.js hello.ts
```
## Roadmap
For details on our planned features and future direction please refer to our [roadmap](https://github.com/Microsoft/TypeScript/wiki/Roadmap).
没有合适的资源?快使用搜索试试~ 我知道了~
TypeScript-1.7.5.zip
共2000个文件
js:1275个
txt:713个
json:5个
0 下载量 131 浏览量
2024-04-19
16:28:53
上传
评论
收藏 21.65MB ZIP 举报
温馨提示
Node.js,简称Node,是一个开源且跨平台的JavaScript运行时环境,它允许在浏览器外运行JavaScript代码。Node.js于2009年由Ryan Dahl创立,旨在创建高性能的Web服务器和网络应用程序。它基于Google Chrome的V8 JavaScript引擎,可以在Windows、Linux、Unix、Mac OS X等操作系统上运行。 Node.js的特点之一是事件驱动和非阻塞I/O模型,这使得它非常适合处理大量并发连接,从而在构建实时应用程序如在线游戏、聊天应用以及实时通讯服务时表现卓越。此外,Node.js使用了模块化的架构,通过npm(Node package manager,Node包管理器),社区成员可以共享和复用代码,极大地促进了Node.js生态系统的发展和扩张。 Node.js不仅用于服务器端开发。随着技术的发展,它也被用于构建工具链、开发桌面应用程序、物联网设备等。Node.js能够处理文件系统、操作数据库、处理网络请求等,因此,开发者可以用JavaScript编写全栈应用程序,这一点大大提高了开发效率和便捷性。 在实践中,许多大型企业和组织已经采用Node.js作为其Web应用程序的开发平台,如Netflix、PayPal和Walmart等。它们利用Node.js提高了应用性能,简化了开发流程,并且能更快地响应市场需求。
资源推荐
资源详情
资源评论
收起资源包目录
TypeScript-1.7.5.zip (2000个子文件)
TypeScript Language Specification (Change Markup).docx 352KB
TypeScript Language Specification.docx 303KB
webhost.html 3KB
typescript.js 2.75MB
typescriptServices.js 2.75MB
tsserver.js 2.15MB
tsc.js 1.5MB
parserRealSource12.js 54KB
underscoreTest1.js 46KB
privacyVarDeclFile.js 27KB
privacyImport.js 26KB
privacyImportParseErrors.js 21KB
parserRealSource4.js 19KB
privacyCannotNameAccessorDeclFile.js 14KB
privacyGetter.js 14KB
privacyTypeParametersOfClassDeclFile.js 13KB
typeResolution.js 11KB
moduledecl.js 9KB
arrayBestCommonTypes.js 9KB
assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js 9KB
taggedTemplateStringsTypeArgumentInference.js 9KB
unionTypeConstructSignatures.js 8KB
destructuringParameterDeclaration1ES5.js 8KB
unionTypeCallSignatures.js 8KB
privacyGloImportParseErrors.js 8KB
typeArgumentInference.js 8KB
comparisonOperatorWithIdenticalObjects.js 7KB
localTypes1.js 7KB
destructuringParameterDeclaration2.js 6KB
es6ExportEqualsInterop.js 6KB
contextualTypeWithUnionTypeMembers.js 6KB
declFileFunctions.js 6KB
importDecl.js 6KB
comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js 6KB
overloadResolution.js 6KB
typeGuardFunctionErrors.js 6KB
undefinedIsSubtypeOfEverything.js 5KB
arrowFunctionContexts.js 5KB
templateStringBinaryOperationsInvalid.js 5KB
augmentedTypesModules.js 5KB
arithmeticOperatorWithEnum.js 5KB
destructuringVariableDeclaration1ES5.js 5KB
privacyGloClass.js 5KB
arrayLiterals2ES5.js 5KB
classdecl.js 5KB
typeGuardsInClassMethods.js 5KB
protectedMembers.js 5KB
witness.js 5KB
typeGuardsWithInstanceOfByConstructorSignature.js 5KB
classUpdateTests.js 5KB
destructuringArrayBindingPatternAndAssignment1ES5.js 4KB
taggedTemplateStringsWithOverloadResolution3_ES6.js 4KB
typeGuardOfFormTypeOfString.js 4KB
callSignatureAssignabilityInInheritance2.js 4KB
implementingAnInterfaceExtendingClassWithPrivates2.js 4KB
sourceMapValidationDecorators.js 4KB
parserRealSource5.js 4KB
functionOverloadErrors.js 4KB
subtypesOfTypeParameterWithConstraints4.js 4KB
commentsClass.js 4KB
constructSignatureAssignabilityInInheritance5.js 4KB
complicatedPrivacy.js 4KB
es6ModuleClassDeclaration.js 4KB
arrayLiterals3.js 4KB
callSignatureAssignabilityInInheritance5.js 4KB
objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js 4KB
implicitAnyCastedValue.js 4KB
privacyInterfaceExtendsClauseDeclFile.js 4KB
restParametersWithArrayTypeAnnotations.js 4KB
anyAssignabilityInInheritance.js 4KB
destructuringWithLiteralInitializers.js 4KB
objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js 4KB
callSignatureWithoutReturnTypeAnnotationInference.js 3KB
superErrors.js 3KB
letDeclarations-scopes.js 3KB
destructuringParameterDeclaration4.js 3KB
disallowLineTerminatorBeforeArrow.js 3KB
collisionArgumentsClassMethod.js 3KB
parserUsingConstructorAsIdentifier.js 3KB
moduleVisibilityTest2.js 3KB
genericCallTypeArgumentInference.js 3KB
propertyAccessOnTypeParameterWithConstraints3.js 3KB
objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js 3KB
objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js 3KB
assignmentCompatWithObjectMembersOptionality2.js 3KB
accessors_spec_section-4.5_inference.js 3KB
typeGuardOfFormNotExpr.js 3KB
objectTypesIdentityWithGenericCallSignatures.js 3KB
unionTypeFromArrayLiteral.js 3KB
objectTypesIdentityWithCallSignatures.js 3KB
deleteOperatorWithAnyOtherType.js 3KB
objectTypesIdentityWithCallSignatures2.js 3KB
commentsVarDecl.js 3KB
callSignatureAssignabilityInInheritance4.js 3KB
unionSubtypeIfEveryConstituentTypeIsSubtype.js 3KB
destructuringArrayBindingPatternAndAssignment2.js 3KB
assignmentLHSIsValue.js 3KB
arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js 3KB
templateStringBinaryOperationsES6.js 3KB
arrowFunctionsMissingTokens.js 3KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
程序员Chino的日记
- 粉丝: 3693
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功