-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to TypeScript 3.7 - fixes #52
- Loading branch information
1 parent
b802fee
commit 206573b
Showing
126 changed files
with
126,166 additions
and
72,322 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
# 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) | ||
[![Build Status](https://travis-ci.org/microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/Microsoft/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) | ||
[![Build Status](https://travis-ci.org/microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/microsoft/TypeScript) | ||
[![VSTS Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs) | ||
[![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) | ||
|
@@ -27,24 +27,24 @@ 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). | ||
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](https://stackoverflow.com/questions/tagged/typescript). | ||
* Join the [#typescript](https://twitter.com/search?q=%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)). | ||
* [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)). | ||
|
||
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 [[email protected]](mailto:[email protected]) | ||
with any additional questions or comments. | ||
|
||
## Documentation | ||
|
||
* [Quick tutorial](https://www.typescriptlang.org/docs/tutorial.html) | ||
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html) | ||
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html) | ||
* [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md) | ||
* [Language specification](https://github.com/microsoft/TypeScript/blob/master/doc/spec.md) | ||
* [Homepage](https://www.typescriptlang.org/) | ||
|
||
## Building | ||
|
@@ -54,7 +54,7 @@ In order to build the TypeScript compiler, ensure that you have [Git](https://gi | |
Clone a copy of the repo: | ||
|
||
```bash | ||
git clone https://github.com/Microsoft/TypeScript.git | ||
git clone https://github.com/microsoft/TypeScript.git | ||
``` | ||
|
||
Change to the TypeScript directory: | ||
|
@@ -73,17 +73,25 @@ npm install | |
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 host or specify a test for this command. | ||
# Use --host=<hostName> or --tests=<testPath>. | ||
gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests. | ||
gulp lint # Runs tslint on the TypeScript source. | ||
gulp help # List the above commands. | ||
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. | ||
# Some low-value tests are skipped when not on a CI machine - you can use the | ||
# --skipPercent=0 command to override this behavior and run all tests locally. | ||
# 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. | ||
``` | ||
|
||
|
||
|
@@ -96,4 +104,4 @@ 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). | ||
For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.