Go to file
openharmony_ci 3b10398d5f
Some checks failed
CI / build (10.x) (push) Has been cancelled
CI / build (12.x) (push) Has been cancelled
CI / build (14.x) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
!499 [Linter] 重载函数的严格模式过滤问题
Merge pull request !499 from azwenqiang/0926_bugfix_strict
2024-09-28 11:44:20 +00:00
.gitee Add the PR template of gitee in TSC field 2024-05-30 19:50:45 +08: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 Delete the useless files in /doc 2024-09-05 15:47:39 +08:00
lib fix overload 2024-09-27 11:59:40 +08:00
scripts Upgrade typescript to 4.9.5 from 4.2.3 2023-11-02 14:41:50 +08:00
src fix overload 2024-09-27 11:59:40 +08:00
tests fix overload 2024-09-27 11:59:40 +08: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 Support arkguard for ts_extra_tests by --enable-arkguard 2024-04-29 15:11:53 +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 Add lisence of typescript in sdk 2024-09-09 15:43:05 +08: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 resolve the differences from the blue and yellow zones 2024-07-22 19:18:18 +08: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 Add lisence of typescript in sdk 2024-09-09 15:43:05 +08: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.