\href{https://travis-ci.org/microsoft/TypeScript}{\texttt{ }} \href{https://dev.azure.com/typescript/TypeScript/_build?definitionId=7}{\texttt{ }} \href{https://www.npmjs.com/package/typescript}{\texttt{ }} \href{https://www.npmjs.com/package/typescript}{\texttt{ }}

\href{https://www.typescriptlang.org/}{\texttt{ Type\+Script}} is a language for application-\/scale Java\+Script. Type\+Script adds optional types to Java\+Script that support tools for large-\/scale Java\+Script applications for any browser, for any host, on any OS. Type\+Script compiles to readable, standards-\/based Java\+Script. Try it out at the \href{https://www.typescriptlang.org/play/}{\texttt{ playground}}, and stay up to date via \href{https://blogs.msdn.microsoft.com/typescript}{\texttt{ our blog}} and \href{https://twitter.com/typescript}{\texttt{ Twitter account}}.

Find others who are using Type\+Script at \href{https://www.typescriptlang.org/community/}{\texttt{ our community page}}.\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md901}{}\doxysection{Installing}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md901}
For the latest stable version\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install -\/g typescript }

\end{DoxyCode}


For our nightly builds\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install -\/g typescript@next }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md902}{}\doxysection{Contribute}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md902}
There are many ways to \href{https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md}{\texttt{ contribute}} to Type\+Script.
\begin{DoxyItemize}
\item \href{https://github.com/microsoft/TypeScript/issues}{\texttt{ Submit bugs}} and help us verify fixes as they are checked in.
\item Review the \href{https://github.com/microsoft/TypeScript/pulls}{\texttt{ source code changes}}.
\item Engage with other Type\+Script users and developers on \href{https://stackoverflow.com/questions/tagged/typescript}{\texttt{ Stack\+Overflow}}.
\item Help each other in the \href{https://discord.gg/typescript}{\texttt{ Type\+Script Community Discord}}.
\item Join the \href{https://twitter.com/search?q=\%23TypeScript}{\texttt{ \#typescript}} discussion on Twitter.
\item \href{https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md}{\texttt{ Contribute bug fixes}}.
\item Read the language specification (\href{https://github.com/microsoft/TypeScript/blob/master/doc/TypeScript\%20Language\%20Specification.docx?raw=true}{\texttt{ docx}}, \href{https://github.com/microsoft/TypeScript/blob/master/doc/TypeScript\%20Language\%20Specification.pdf?raw=true}{\texttt{ pdf}}, \href{https://github.com/microsoft/TypeScript/blob/master/doc/spec.md}{\texttt{ md}}).
\end{DoxyItemize}

This project has adopted the \href{https://opensource.microsoft.com/codeofconduct/}{\texttt{ Microsoft Open Source Code of Conduct}}. For more information see the \href{https://opensource.microsoft.com/codeofconduct/faq/}{\texttt{ Code of Conduct FAQ}} or contact \href{mailto:opencode@microsoft.com}{\texttt{ opencode@microsoft.\+com}} with any additional questions or comments.\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md903}{}\doxysection{Documentation}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md903}

\begin{DoxyItemize}
\item \href{https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html}{\texttt{ Type\+Script in 5 minutes}}
\item \href{https://www.typescriptlang.org/docs/handbook/basic-types.html}{\texttt{ Programming handbook}}
\item \href{https://github.com/microsoft/TypeScript/blob/master/doc/spec.md}{\texttt{ Language specification}}
\item \href{https://www.typescriptlang.org/}{\texttt{ Homepage}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md904}{}\doxysection{Building}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md904}
In order to build the Type\+Script compiler, ensure that you have \href{https://git-scm.com/downloads}{\texttt{ Git}} and \href{https://nodejs.org/}{\texttt{ Node.\+js}} installed.

Clone a copy of the repo\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{git clone https://github.com/microsoft/TypeScript.git }

\end{DoxyCode}


Change to the Type\+Script directory\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{cd TypeScript }

\end{DoxyCode}


Install \href{https://gulpjs.com/}{\texttt{ Gulp}} tools and dev dependencies\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install -\/g gulp}
\DoxyCodeLine{npm install }

\end{DoxyCode}


Use one of the following to build and test\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{gulp local             \# Build the compiler into built/local.}
\DoxyCodeLine{gulp clean             \# Delete the built compiler.}
\DoxyCodeLine{gulp LKG               \# Replace the last known good with the built one.}
\DoxyCodeLine{                       \# Bootstrapping step to be executed when the built compiler reaches a stable state.}
\DoxyCodeLine{gulp tests             \# Build the test infrastructure using the built compiler.}
\DoxyCodeLine{gulp runtests          \# Run tests using the built compiler and test infrastructure.}
\DoxyCodeLine{                       \# Some low-\/value tests are skipped when not on a CI machine -\/ you can use the}
\DoxyCodeLine{                       \# -\/-\/skipPercent=0 command to override this behavior and run all tests locally.}
\DoxyCodeLine{                       \# You can override the specific suite runner used or specify a test for this command.}
\DoxyCodeLine{                       \# Use -\/-\/tests=<testPath> for a specific test and/or -\/-\/runner=<runnerName> for a specific suite.}
\DoxyCodeLine{                       \# Valid runners include conformance, compiler, fourslash, project, user, and docker}
\DoxyCodeLine{                       \# The user and docker runners are extended test suite runners -\/ the user runner}
\DoxyCodeLine{                       \# works on disk in the tests/cases/user directory, while the docker runner works in containers.}
\DoxyCodeLine{                       \# You'll need to have the docker executable in your system path for the docker runner to work.}
\DoxyCodeLine{gulp runtests-\/parallel \# Like runtests, but split across multiple threads. Uses a number of threads equal to the system}
\DoxyCodeLine{                       \# core count by default. Use -\/-\/workers=<number> to adjust this.}
\DoxyCodeLine{gulp baseline-\/accept   \# This replaces the baseline test results with the results obtained from gulp runtests.}
\DoxyCodeLine{gulp lint              \# Runs eslint on the TypeScript source.}
\DoxyCodeLine{gulp help              \# List the above commands. }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md905}{}\doxysection{Usage}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md905}

\begin{DoxyCode}{0}
\DoxyCodeLine{node built/local/tsc.js hello.ts }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md906}{}\doxysection{Roadmap}\label{md_sfcode_node_modules__angular_devkit_build_optimizer_node_modules_typescript_README_autotoc_md906}
For details on our planned features and future direction please refer to our \href{https://github.com/microsoft/TypeScript/wiki/Roadmap}{\texttt{ roadmap}}. 