Jake Bailey 776907cd4d Add ts to globalThis in run.js for convenience during debugging
In namespaces, we'd have access to a variable named "ts" when debugging,
because that was just the ts namespace in the current file. But when
modules, that variable doesn't exist, either because we are pure modules
(so no ts variable), or named something else (when bundled, for export).

Tack a "ts" object onto the globals, which should make this easier. Of
course, someone may eventually declare a variable in the top level scope
named "ts" and break this, but we can cross that bridge when we come to
it.
2022-11-07 13:35:48 -08:00
2022-11-07 13:34:44 -08:00
2022-11-07 13:33:07 -08:00
2022-09-29 12:42:20 -07:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:33:08 -08:00
2020-08-19 16:50:23 -07:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:34:44 -08:00
2022-11-07 13:34:44 -08:00
2021-08-16 13:54:30 -07:00

TypeScript

GitHub Actions CI Devops Build Status npm version Downloads

TypeScript 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, and stay up to date via our blog and Twitter account.

Find others who are using TypeScript at our community page.

Installing

For the latest stable version:

npm install -g typescript

For our nightly builds:

npm install -g typescript@next

Contribute

There are many ways to contribute to TypeScript.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Roadmap

For details on our planned features and future direction please refer to our roadmap.

Description
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Readme 6 GiB
2025-07-30 13:28:01 -05:00
Languages
TypeScript 97.9%
jsonc 2%
JavaScript 0.1%