{"id":7859,"date":"2015-10-31T21:24:39","date_gmt":"2015-10-31T21:24:39","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/31\/microsoft-typescript\/"},"modified":"2015-10-31T21:24:39","modified_gmt":"2015-10-31T21:24:39","slug":"microsoft-typescript","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/31\/microsoft-typescript\/","title":{"rendered":"Microsoft\/TypeScript"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/travis-ci.org\/Microsoft\/TypeScript.svg?branch=master\" \/> <img decoding=\"async\" src=\"http:\/\/issuestats.com\/github\/Microsoft\/TypeScript\/badge\/pr\" \/> <img decoding=\"async\" src=\"http:\/\/issuestats.com\/github\/Microsoft\/TypeScript\/badge\/issue\" \/> <img decoding=\"async\" src=\"http:\/\/badge.fury.io\/js\/typescript.svg\" \/> <img decoding=\"async\" src=\"http:\/\/img.shields.io\/npm\/dm\/TypeScript.svg\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/badges.gitter.im\/Join%20Chat.svg\" \/><\/p>\n<p>TypeScript 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, and stay up to date via our blog and twitter account.<\/p>\n<h2>Contribute<\/h2>\n<p>There are many ways to contribute to TypeScript.<\/p>\n<h2>Documentation<\/h2>\n<ul>\n<li>Quick tutorial<\/li>\n<li>Programming handbook<\/li>\n<li>Language specification<\/li>\n<li>Homepage<\/li>\n<\/ul>\n<h2>Building<\/h2>\n<p>In order to build the TypeScript compiler, ensure that you have Git and Node.js installed. Note that you need to have autocrlf off as we track whitespace changes (<code>git config --global core.autocrlf false<\/code>).<\/p>\n<p>Clone a copy of the repo:<\/p>\n<pre><code>git clone https:\/\/github.com\/Microsoft\/TypeScript.git\n<\/code><\/pre>\n<p>Change to the TypeScript directory:<\/p>\n<pre><code>cd TypeScript\n<\/code><\/pre>\n<p>Install Jake tools and dev dependencies:<\/p>\n<pre><code>npm install -g jake\nnpm install\n<\/code><\/pre>\n<p>Use one of the following to build and test:<\/p>\n<pre><code>jake local            # Build the compiler into built\/local \njake clean            # Delete the built compiler \njake LKG              # Replace the last known good with the built one.\n                      # Bootstrapping step to be executed when the built compiler reaches a stable state.\njake tests            # Build the test infrastructure using the built compiler. \njake runtests         # Run tests using the built compiler and test infrastructure. \n                      # You can override the host or specify a test for this command. \n                      # Use host= or tests=. \njake runtests-browser # Runs the tests using the built run.js file. Syntax is jake runtests. Optional\n                        parameters 'host=', 'tests=[regex], reporter=[list|spec|json|]'.\njake baseline-accept  # This replaces the baseline test results with the results obtained from jake runtests. \njake -T               # List the above commands. \n<\/code><\/pre>\n<h2>Usage<\/h2>\n<pre><code>node built\/local\/tsc.js hello.ts\n<\/code><\/pre>\n<h2>Roadmap<\/h2>\n<p>For details on our planned features and future direction please refer to our roadmap.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TypeScript 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, and stay up to date via our blog and twitter account. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7859","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7859"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7859\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}