third_party_typescript:基于 OpenHarmony 生态的 TypeScript 语言扩展项目

暂无描述

Branch295Tags45
FilesLast commitLast update
Add Checklist8 months ago
Delete templete from github7 months ago
Convert codebase from namespace into module1 year ago
Moved LKG folder to lib10 years ago
Delete the useless files in /doc1 year ago
!850 merge master into master15 days ago
Add auto test suite runner2 months ago
!850 merge master into master15 days ago
在apiAvailable中补充getTypeOfNode方法28 days ago
Unignore the package-lock.json in the root Dockerignore, fixing docker suite tests5 years ago
Use CRLF, not LF.11 years ago
Convert codebase from namespace into module1 year ago
Convert codebase from namespace into module1 year ago
Never normalize end-of-lines on clone/commit.10 years ago
Add auto test suite runner2 months ago
Convert codebase from namespace into module1 year ago
Update .mailmap7 years ago
Relax recursive type alianses in ArkTS2 years ago
Adds a yarnrc which makes sure that the lockfile isn't generated for people using Yarn6 years ago
add Claude.md and AGENTS.md for openharmony typescript repository4 months ago
fix hpm package for typescript9 months ago
Added Microsoft code of conduct file7 years ago
Convert codebase from namespace into module1 year ago
Remove trailing whitespace from copyright notice (#36886)6 years ago
Convert codebase from namespace into module1 year ago
Convert codebase from namespace into module1 year ago
lihong67@huawei.com4 years ago
Modify the license and copyright of the OAT.xml file2 years ago
Add lisence of typescript in sdk1 year ago
Upgrade typescript to 4.9.5 from 4.2.32 years ago
Upgrade typescript to 4.9.5 from 4.2.32 years ago
Update ThirdPartyNoticeText to include KhronosGroup copyright notice for WebGL.7 years ago
houhaoyu@huawei.com4 years ago
houhaoyu@huawei.com4 years ago
nner api10 months ago
resolve the differences from the blue and yellow zones1 year ago
annotation and codecheck bugfix1 year ago
Add auto test suite runner2 months ago

TypeScript

GitHub Actions CI Devops Build Status npm version Downloads

TypeScript 是一种适用于应用程序规模的 JavaScript 语言。TypeScript 为 JavaScript 添加了可选的类型系统,这些类型支持适用于任何浏览器、任何宿主环境、任何操作系统的大型 JavaScript 应用程序开发工具。TypeScript 会编译为可读性强、符合标准的 JavaScript。您可以在 playground 中试用,并通过 我们的博客Twitter 账号 了解最新动态。

我们的社区页面 可以找到其他正在使用 TypeScript 的用户。

安装

如需获取最新稳定版本:

npm install -g typescript

对于我们的夜间构建:

npm install -g typescript@next

贡献方式

您可以通过多种方式为 TypeScript 贡献力量

本项目已采用 Microsoft 开源行为准则。如需了解更多信息,请参阅 行为准则常见问题,或通过 opencode@microsoft.com 联系我们,提出其他问题或意见。

文档

路线图

有关我们计划的功能和未来发展方向的详细信息,请参阅我们的 路线图

变更

我们进行了以下代码修改,以支持 ETS 开发范式。

2021 年 10 月

  • 支持自定义组件 struct 语法,并添加 StructDeclarationEtsComponentExpression 节点类型。

2021年11月

  • 支持自定义组件名称和参数的 gotoDefinition
  • 支持 StructDeclaration 类型的生命周期补全。
  • 支持函数和方法的 @Builder 装饰器。

2022年1月

  • 优化 eTS 语言支持。
  • 支持 @BuilderParam 装饰器和自定义容器 lambda 语法。
  • getCompletionAtPosition 接口中添加 jsDoc 和 displayParts 信息。
  • 支持 eTS 语言的 ScriptKind 和 Extension。
  • 为 eTS 添加 PropertyAccessExpressionConditionCheck

2022年2月

  • 支持 @Styles 装饰器及相关语法。
  • 添加对 struct 名称包含保留标签名的检查。
  • 支持 stateStyles 属性。
  • eTS 补全性能优化。
  • 支持函数的 @Extend@Styles 装饰器。