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

暂无描述

分支294Tags45
文件最后提交记录最后更新时间
Add Checklist8 个月前
Delete templete from github7 个月前
Convert codebase from namespace into module1 年前
Moved LKG folder to lib10 年前
Delete the useless files in /doc1 年前
!850 merge master into master12 天前
Add auto test suite runner2 个月前
!850 merge master into master12 天前
在apiAvailable中补充getTypeOfNode方法25 天前
Unignore the package-lock.json in the root Dockerignore, fixing docker suite tests5 年前
Use CRLF, not LF.11 年前
Convert codebase from namespace into module1 年前
Convert codebase from namespace into module1 年前
Never normalize end-of-lines on clone/commit.10 年前
Add auto test suite runner2 个月前
Convert codebase from namespace into module1 年前
Update .mailmap7 年前
Relax recursive type alianses in ArkTS2 年前
Adds a yarnrc which makes sure that the lockfile isn't generated for people using Yarn6 年前
add Claude.md and AGENTS.md for openharmony typescript repository3 个月前
fix hpm package for typescript9 个月前
Added Microsoft code of conduct file7 年前
Convert codebase from namespace into module1 年前
Remove trailing whitespace from copyright notice (#36886)6 年前
Convert codebase from namespace into module1 年前
Convert codebase from namespace into module1 年前
lihong67@huawei.com4 年前
Modify the license and copyright of the OAT.xml file2 年前
Add lisence of typescript in sdk1 年前
Upgrade typescript to 4.9.5 from 4.2.32 年前
Upgrade typescript to 4.9.5 from 4.2.32 年前
Update ThirdPartyNoticeText to include KhronosGroup copyright notice for WebGL.7 年前
houhaoyu@huawei.com4 年前
houhaoyu@huawei.com4 年前
nner api10 个月前
resolve the differences from the blue and yellow zones1 年前
annotation and codecheck bugfix1 年前
Add auto test suite runner2 个月前

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 装饰器。