# TypeScript
[![GitHub Actions CI](https://github.com/microsoft/TypeScript/workflows/CI/badge.svg)](https://github.com/microsoft/TypeScript/actions?query=workflow%3ACI)
[![Devops Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.azure.com/typescript/TypeScript/_build?definitionId=7)
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)
[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support 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](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescript).
Find others who are using TypeScript at [our community page](https://www.typescriptlang.org/community/).
## Installing
For the latest stable version:
```bash
npm install -g typescript
```
For our nightly builds:
```bash
npm install -g typescript@next
```
## Contribute
There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/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](https://stackoverflow.com/questions/tagged/typescript).
* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript).
* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter.
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md).
* Read the archived language specification ([docx](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.docx?raw=true),
[pdf](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.pdf?raw=true), [md](https://github.com/microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md)).
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
with any additional questions or comments.
## Documentation
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
* [Homepage](https://www.typescriptlang.org/)
## Building
In order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
Clone a copy of the repo:
```bash
git clone https://github.com/microsoft/TypeScript.git
```
Change to the TypeScript directory:
```bash
cd TypeScript
```
Install [Gulp](https://gulpjs.com/) tools and dev dependencies:
```bash
npm install -g gulp
npm ci
```
Use one of the following to build and test:
```
gulp local # Build the compiler into built/local.
gulp clean # Delete the built compiler.
gulp LKG # Replace the last known good with the built one.
# Bootstrapping step to be executed when the built compiler reaches a stable state.
gulp tests # Build the test infrastructure using the built compiler.
gulp runtests # Run tests using the built compiler and test infrastructure.
# You can override the specific suite runner used or specify a test for this command.
# Use --tests=<testPath> for a specific test and/or --runner=<runnerName> for a specific suite.
# Valid runners include conformance, compiler, fourslash, project, user, and docker
# The user and docker runners are extended test suite runners - the user runner
# works on disk in the tests/cases/user directory, while the docker runner works in containers.
# You'll need to have the docker executable in your system path for the docker runner to work.
gulp runtests-parallel # Like runtests, but split across multiple threads. Uses a number of threads equal to the system
# core count by default. Use --workers=<number> to adjust this.
gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
gulp lint # Runs eslint on the TypeScript source.
gulp help # List the above commands.
```
## Usage
```bash
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-4.6.3.tgz
0 下载量 134 浏览量
2024-05-05
23:13:54
上传
评论
收藏 10.84MB TGZ 举报
温馨提示
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-4.6.3.tgz (183个子文件)
tsserver.js 10.26MB
tsserverlibrary.js 10.21MB
typescriptServices.js 9.62MB
typescript.js 9.62MB
typingsInstaller.js 7.2MB
tsc.js 5.55MB
cancellationToken.js 3KB
watchGuard.js 1KB
diagnosticMessages.generated.json 364KB
diagnosticMessages.generated.json 313KB
diagnosticMessages.generated.json 283KB
diagnosticMessages.generated.json 281KB
diagnosticMessages.generated.json 281KB
diagnosticMessages.generated.json 280KB
diagnosticMessages.generated.json 279KB
diagnosticMessages.generated.json 278KB
diagnosticMessages.generated.json 270KB
diagnosticMessages.generated.json 270KB
diagnosticMessages.generated.json 260KB
diagnosticMessages.generated.json 242KB
diagnosticMessages.generated.json 239KB
typesMap.json 17KB
package.json 4KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 162KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 160KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 159KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 159KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 158KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 157KB
Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl 157KB
TypeScriptProjectProperties.xaml.lcl 21KB
TypeScriptProjectProperties.xaml.lcl 21KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScriptProjectProperties.xaml.lcl 20KB
TypeScript.Tasks.dll.lcl 11KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 10KB
TypeScript.Tasks.dll.lcl 9KB
TypeScript.Tasks.dll.lcl 9KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptCompile.xaml.lcl 8KB
TypeScriptDebugEngine.dll.lcl 6KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
TypeScriptDebugEngine.dll.lcl 5KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
ProjectItemsSchema.xaml.lcl 1KB
共 183 条
- 1
- 2
资源评论
程序员Chino的日记
- 粉丝: 3651
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Accurate and Faster Timing Closure With TSMC 16-nm FinFET Using
- GD32F303Cx引脚定义.xlsx
- Linux常用命令大全:文件操作、系统管理、网络操作、用户权限管理
- 利用matplotlib进行可视化
- 信息系统项目管理师2024年模拟题(二)真题及答案详解.docx
- CS(Computer Science 计算机科学)生涯:读书笔记,集成Java知识体系!(Java基础、JVM、JUC、Sp
- 【源码+数据库+运行指导视频】基于java Swing+mysql实现简单的购物系统
- GD32F303RCt6引脚功能表
- 卷积神经网络(CNN)提取影评特征构建电影推荐系统,pytorch实现-ConvMF.zip
- 限幅平均滤波法作为一种结合了限幅滤波和平均滤波特性的算法,广泛应用于各种需要去除噪声和干扰的场合
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功