Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ | 07-Sep-2024 | - | 727 | 528 | ||
.vscode/ | 07-Sep-2024 | - | 145 | 135 | ||
bin/ | 07-Sep-2024 | - | 6 | 2 | ||
doc/ | 07-Sep-2024 | - | 6,778 | 4,762 | ||
lib/ | 07-Sep-2024 | - | 340,522 | 297,980 | ||
scripts/ | 07-Sep-2024 | - | 5,485 | 4,909 | ||
src/ | 07-Sep-2024 | - | 597,840 | 517,591 | ||
tests/ | 07-Sep-2024 | - | 5,376,715 | 3,837,914 | ||
.dockerignore | D | 07-Sep-2024 | 1,006 | 49 | 48 | |
.editorconfig | D | 07-Sep-2024 | 188 | 11 | 8 | |
.eslintignore | D | 07-Sep-2024 | 60 | 5 | 4 | |
.eslintrc.json | D | 07-Sep-2024 | 5.6 KiB | 135 | 118 | |
.gitattributes | D | 07-Sep-2024 | 42 | 3 | 2 | |
.gitignore | D | 07-Sep-2024 | 2.9 KiB | 102 | 101 | |
.mailmap | D | 07-Sep-2024 | 18.7 KiB | 363 | 361 | |
.npmignore | D | 07-Sep-2024 | 488 | 44 | 44 | |
.yarnrc | D | 07-Sep-2024 | 27 | 2 | 1 | |
BUILD.gn | D | 07-Sep-2024 | 4.1 KiB | 128 | 125 | |
CODE_OF_CONDUCT.md | D | 07-Sep-2024 | 333 | 2 | 1 | |
CONTRIBUTING.md | D | 07-Sep-2024 | 15.4 KiB | 277 | 184 | |
CopyrightNotice.txt | D | 07-Sep-2024 | 812 | 16 | 12 | |
Dockerfile | D | 07-Sep-2024 | 252 | 7 | 7 | |
Gulpfile.mjs | D | 07-Sep-2024 | 29.5 KiB | 601 | 512 | |
LICENSE | D | 07-Sep-2024 | 9 KiB | 56 | 28 | |
OAT.xml | D | 07-Sep-2024 | 7.2 KiB | 104 | 49 | |
README.OpenSource | D | 07-Sep-2024 | 323 | 12 | 11 | |
README.md | D | 07-Sep-2024 | 4.2 KiB | 81 | 55 | |
SECURITY.md | D | 07-Sep-2024 | 2.7 KiB | 42 | 22 | |
ThirdPartyNoticeText.txt | D | 07-Sep-2024 | 36.9 KiB | 194 | 161 | |
VersionSet.xml | D | 07-Sep-2024 | 47 | 1 | 1 | |
app_define.json | D | 07-Sep-2024 | 188 | 1 | 1 | |
bundle.json | D | 07-Sep-2024 | 806 | 36 | 36 | |
compile_typescript.py | D | 07-Sep-2024 | 1.6 KiB | 56 | 33 | |
package-lock.json | D | 07-Sep-2024 | 316.5 KiB | 6,690 | 6,689 | |
package.json | D | 07-Sep-2024 | 4 KiB | 139 | 138 |
README.OpenSource
1[ 2 { 3 "Name": "typescript", 4 "License": "Apache-2.0", 5 "License File": "NOTICE", 6 "Version Number": "4.9.5", 7 "Owner": "lihong67@huawei.com", 8 "Upstream URL": "https://github.com/Microsoft/TypeScript.git", 9 "Description": "TypeScript is a language for application scale JavaScript development." 10 } 11] 12
README.md
1 2# TypeScript 3 4[![GitHub Actions CI](https://github.com/microsoft/TypeScript/workflows/CI/badge.svg)](https://github.com/microsoft/TypeScript/actions?query=workflow%3ACI) 5[![Devops Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.azure.com/typescript/TypeScript/_build?definitionId=7) 6[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript) 7[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript) 8 9[TypeScript](https://www.typescriptlang.org/) 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](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescript). 10 11Find others who are using TypeScript at [our community page](https://www.typescriptlang.org/community/). 12 13## Installing 14 15For the latest stable version: 16 17```bash 18npm install -g typescript 19``` 20 21For our nightly builds: 22 23```bash 24npm install -g typescript@next 25``` 26 27## Contribute 28 29There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeScript. 30* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in. 31* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls). 32* Engage with other TypeScript users and developers on [StackOverflow](https://stackoverflow.com/questions/tagged/typescript). 33* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript). 34* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter. 35* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md). 36* Read the archived language specification ([docx](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.docx?raw=true), 37 [pdf](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.pdf?raw=true), [md](https://github.com/microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md)). 38 39This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see 40the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) 41with any additional questions or comments. 42 43## Documentation 44 45* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html) 46* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html) 47* [Homepage](https://www.typescriptlang.org/) 48 49## Roadmap 50 51For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap). 52 53## Changes 54 55We made the following code modifications to support the ETS development paradigm. 56 57### October 2021 58 59* [x] Support custom component `struct` syntax, and add `StructDeclaration` and `EtsComponentExpression` node type. 60 61### November 2021 62 63* [x] Support `gotoDefinition` for custom component name and arguments. 64* [x] Support completion of lifecycle for `StructDeclaration` type. 65* [x] Support `@Builder` decorator for function and method. 66 67### January 2022 68 69* [x] Optimize eTS language support. 70* [x] Support `@BuilderParam` decorator and custom container lambda syntax. 71* [x] Add jsDoc and displayParts info in `getCompletionAtPosition` interface. 72* [x] Support eTS language ScriptKind and Extension. 73* [x] Add `PropertyAccessExpressionConditionCheck` for eTS. 74 75### February 2022 76 77* [x] Support `@Styles` decorator and related syntax. 78* [x] Add check for `struct` name contain reserved tag name. 79* [x] Support `stateStyles` property. 80* [x] Performance optimization for eTS completion. 81* [x] Support `@Extend` and `@Styles` decorators for function.