Jake Bailey c5a9573787 Ensure ts object passed to plugins contains deprecatedCompat declarations
We pass the entire "ts" object into plugins. However, we need to make
sure that that object contains the debug compat helpers.

In the old codebase, the deprecated compat code would tack things onto
the actual ts object, after the server code was executed, and later that
same object would be given to plugins.

But in modules, each TS project only sees the view of the "ts" namespace
that their references implied, not the ts object as some sort of
singleton. To ensure that plugins get the debug compat code, we have to
bring that into each project's view of the ts namespace, and not add it
on later in the executable projects.
2022-11-07 13:36:08 -08:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -08:00
2015-07-27 10:07:07 -07:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -08:00
2015-03-02 14:38:24 -08:00
2022-11-07 13:33:08 -08:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -08:00
2014-07-12 17:30:19 -07:00
2022-11-07 13:35:48 -08:00
2022-11-07 13:35:48 -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 4.9 GiB
2025-07-30 13:28:01 -05:00
Languages
TypeScript 97.9%
jsonc 1.9%
JavaScript 0.2%