Go to file
openharmony_ci 89cd44d3fb
!252 Fix ArkTSLinter generic parameter bug for arrary type
Merge pull request !252 from ironrain/work_0103_250_1
2024-01-21 11:15:23 +00:00
.github Fix a small typo in the issue template. (#42208) 2021-01-04 14:15:51 -08:00
.vscode Add support for vscode-js-debug's customDescriptionGenerators (#40308) 2020-09-02 20:05:50 -07:00
bin Moved LKG folder to lib 2015-07-27 10:07:07 -07:00
doc houhaoyu@huawei.com 2022-02-28 15:40:45 +08:00
lib Fix ArkTSLinter generic parameter bug for arrary type 2024-01-17 03:38:45 +00:00
scripts Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
src Fix ArkTSLinter generic parameter bug for arrary type 2024-01-17 03:38:45 +00:00
tests Use language service to cache, use language service to create program in linter 2024-01-12 02:57:27 +00:00
.dockerignore Unignore the package-lock.json in the root Dockerignore, fixing docker suite tests 2020-09-02 14:31:51 -07:00
.editorconfig Use CRLF, not LF. 2015-03-02 14:38:24 -08:00
.eslintignore Revert 'awaited' type (#37610) 2020-03-25 18:39:45 -07:00
.eslintrc.json feat(eslint): upgrade typescript-eslint/eslint 2020-11-02 12:37:10 +02:00
.gitattributes Never normalize end-of-lines on clone/commit. 2015-05-31 15:45:41 -07:00
.gitignore houhaoyu@huawei.com 2022-02-28 15:40:45 +08:00
.mailmap Update .mailmap 2018-10-27 20:39:23 +05:30
.npmignore Relax recursive type alianses in ArkTS 2023-09-18 14:25:40 +08:00
.yarnrc Adds a yarnrc which makes sure that the lockfile isn't generated for people using Yarn 2019-06-12 11:20:20 -07:00
app_define.json houhaoyu@huawei.com 2022-02-28 15:40:45 +08:00
BUILD.gn Cancel the tsc build process in CI and upload the lib code 2023-12-27 09:05:02 +00:00
bundle.json Add the bundle.json file 2023-09-13 16:33:36 +08:00
CODE_OF_CONDUCT.md Added Microsoft code of conduct file 2018-10-05 22:10:20 +01:00
compile_typescript.py Cancel the tsc build process in CI and upload the lib code 2023-12-27 09:05:02 +00:00
CONTRIBUTING.md Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
CopyrightNotice.txt Remove trailing whitespace from copyright notice (#36886) 2020-02-20 09:46:50 -08:00
Dockerfile Adopt package-lock.json and npm ci 2020-08-19 16:50:23 -07:00
Gulpfile.mjs Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
LICENSE lihong67@huawei.com 2022-02-07 19:04:30 +08:00
OAT.xml Modify the license and copyright of the OAT.xml file 2023-07-31 14:56:05 +08:00
package-lock.json Build typescript in product building. 2023-12-04 01:29:19 +00:00
package.json Build typescript in product building. 2023-12-04 01:29:19 +00:00
README.md Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
README.OpenSource Modify the version of README.OpenSource 2024-01-04 08:15:23 +00:00
SECURITY.md Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
ThirdPartyNoticeText.txt Update ThirdPartyNoticeText to include KhronosGroup copyright notice for WebGL. 2018-07-31 12:49:13 -07:00
VersionSet.xml houhaoyu@huawei.com 2022-02-28 15:40:45 +08: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.

Changes

We made the following code modifications to support the ETS development paradigm.

October 2021

  • Support custom component struct syntax, and add StructDeclaration and EtsComponentExpression node type.

November 2021

  • Support gotoDefinition for custom component name and arguments.
  • Support completion of lifecycle for StructDeclaration type.
  • Support @Builder decorator for function and method.

January 2022

  • Optimize eTS language support.
  • Support @BuilderParam decorator and custom container lambda syntax.
  • Add jsDoc and displayParts info in getCompletionAtPosition interface.
  • Support eTS language ScriptKind and Extension.
  • Add PropertyAccessExpressionConditionCheck for eTS.

February 2022

  • Support @Styles decorator and related syntax.
  • Add check for struct name contain reserved tag name.
  • Support stateStyles property.
  • Performance optimization for eTS completion.
  • Support @Extend and @Styles decorators for function.