TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Перейти к файлу
Anders Hejlsberg 344af2d6fa Merge branch 'main' into fix51331
# Conflicts:
#	tests/baselines/reference/controlFlowGenericTypes.types
#	tests/baselines/reference/indexedAccessRelation.types
#	tests/baselines/reference/keyRemappingKeyofResult.types
#	tests/baselines/reference/keyofAndIndexedAccess.types
#	tests/baselines/reference/keyofAndIndexedAccessErrors.types
#	tests/baselines/reference/keyofIntersection.types
#	tests/baselines/reference/mappedTypeConstraints.types
#	tests/baselines/reference/mappedTypes4.types
2024-04-07 09:57:48 -07:00
.devcontainer
.github Tweak CI failure diffing, produce an artifact for fixing baseline errors (#58041) 2024-04-02 13:50:14 -07:00
.vscode Sort imports with dprint instead of eslint (#58058) 2024-04-03 11:27:49 -07:00
bin
scripts Update dprint, don't force multiline imports for imports of single name (#58038) 2024-04-02 10:58:16 -07:00
src Merge branch 'main' into fix51331 2024-04-07 09:57:48 -07:00
tests Merge branch 'main' into fix51331 2024-04-07 09:57:48 -07:00
.c8rc.json
.dprint.jsonc Sort imports with dprint instead of eslint (#58058) 2024-04-03 11:27:49 -07:00
.editorconfig
.eslint-plugin-local.cjs
.eslintrc.json Sort imports with dprint instead of eslint (#58058) 2024-04-03 11:27:49 -07:00
.git-blame-ignore-revs
.gitattributes
.gitignore Make sure virtual file system with watch behaves same way as sys/node so we have proper test coverage for symlinks (#57607) 2024-03-29 09:48:51 -07:00
.gulp.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Herebyfile.mjs Make unused variable rule a warning, error on warnings for CI (#58059) 2024-04-03 10:29:27 -07:00
LICENSE.txt
README.md Update OpenSSF scorecard link to new page rather than raw API (#58003) 2024-03-29 15:24:56 -07:00
SECURITY.md
SUPPORT.md
ThirdPartyNoticeText.txt
azure-pipelines.release.yml Avoid testing in same CI jobs as releases (#58002) 2024-03-29 15:24:49 -07:00
package-lock.json Update package-lock.json 2024-04-06 06:15:35 +00:00
package.json Sort imports with dprint instead of eslint (#58058) 2024-04-03 11:27:49 -07:00

README.md

TypeScript

GitHub Actions CI npm version Downloads OpenSSF Scorecard

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 -D typescript

For our nightly builds:

npm install -D 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.