1
- [ ![ Build Status] ( https://travis-ci.org/Microsoft/TypeScript.svg?branch=master )] ( https://travis-ci.org/Microsoft/TypeScript )
2
- [ ![ 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 )
3
- [ ![ npm version] ( https://badge.fury.io/js/typescript.svg )] ( https://www.npmjs.com/package/typescript )
4
- [ ![ Downloads] ( https://img.shields.io/npm/dm/typescript.svg )] ( https://www.npmjs.com/package/typescript )
5
1
6
2
# TypeScript
7
3
8
4
[ ![ 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 )
5
+ [ ![ Build Status] ( https://travis-ci.org/microsoft/TypeScript.svg?branch=master )] ( https://travis-ci.org/Microsoft/TypeScript )
6
+ [ ![ 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 )
7
+ [ ![ npm version] ( https://badge.fury.io/js/typescript.svg )] ( https://www.npmjs.com/package/typescript )
8
+ [ ![ Downloads] ( https://img.shields.io/npm/dm/typescript.svg )] ( https://www.npmjs.com/package/typescript )
9
+
10
+
9
11
10
12
[ 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 ) .
11
13
@@ -28,14 +30,14 @@ npm install -g typescript@next
28
30
There are many ways to [ contribute] ( https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md ) to TypeScript.
29
31
* [ Submit bugs] ( https://github.com/Microsoft/TypeScript/issues ) and help us verify fixes as they are checked in.
30
32
* Review the [ source code changes] ( https://github.com/Microsoft/TypeScript/pulls ) .
31
- * Engage with other TypeScript users and developers on [ StackOverflow] ( https://stackoverflow.com/questions/tagged/typescript ) .
33
+ * Engage with other TypeScript users and developers on [ StackOverflow] ( https://stackoverflow.com/questions/tagged/typescript ) .
32
34
* Join the [ #typescript] ( https://twitter.com/search?q=%23TypeScript ) discussion on Twitter.
33
35
* [ Contribute bug fixes] ( https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md ) .
34
36
* Read the language specification ([ docx] ( https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true ) ,
35
37
[ 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 ) ).
36
38
37
- This project has adopted the [ Microsoft Open Source Code of Conduct] ( https://opensource.microsoft.com/codeofconduct/ ) . For more information see
38
- the
[ Code of Conduct FAQ
] ( https://opensource.microsoft.com/codeofconduct/faq/ ) or contact
[ [email protected] ] ( mailto:[email protected] )
39
+ This project has adopted the [ Microsoft Open Source Code of Conduct] ( https://opensource.microsoft.com/codeofconduct/ ) . For more information see
40
+ the
[ Code of Conduct FAQ
] ( https://opensource.microsoft.com/codeofconduct/faq/ ) or contact
[ [email protected] ] ( mailto:[email protected] )
39
41
with any additional questions or comments.
40
42
41
43
## Documentation
@@ -71,17 +73,17 @@ npm install
71
73
Use one of the following to build and test:
72
74
73
75
```
74
- gulp local # Build the compiler into built/local
75
- gulp clean # Delete the built compiler
76
+ gulp local # Build the compiler into built/local
77
+ gulp clean # Delete the built compiler
76
78
gulp LKG # Replace the last known good with the built one.
77
79
# Bootstrapping step to be executed when the built compiler reaches a stable state.
78
- gulp tests # Build the test infrastructure using the built compiler.
79
- gulp runtests # Run tests using the built compiler and test infrastructure.
80
- # You can override the host or specify a test for this command.
81
- # Use --host=<hostName> or --tests=<testPath>.
80
+ gulp tests # Build the test infrastructure using the built compiler.
81
+ gulp runtests # Run tests using the built compiler and test infrastructure.
82
+ # You can override the host or specify a test for this command.
83
+ # Use --host=<hostName> or --tests=<testPath>.
82
84
gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
83
85
gulp lint # Runs tslint on the TypeScript source.
84
- gulp help # List the above commands.
86
+ gulp help # List the above commands.
85
87
```
86
88
87
89
0 commit comments