Go to file
openharmony_ci dcd51df41f
Some checks failed
CI / build (10.x) (push) Failing after 0s
CI / build (12.x) (push) Failing after 0s
CI / build (14.x) (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
!481 Add getEmitHost to program
Merge pull request !481 from 肖培阳/addGetEmitHost
2024-09-13 14:10:59 +00:00
.gitee Add the PR template of gitee in TSC field 2024-05-30 19:50:45 +08:00
.github
.vscode
bin
doc Delete the useless files in /doc 2024-09-05 15:47:39 +08:00
lib Add getEmitHost to program 2024-09-05 17:25:04 +08:00
scripts
src Add getEmitHost to program 2024-09-05 17:25:04 +08:00
tests !481 Add getEmitHost to program 2024-09-13 14:10:59 +00:00
.dockerignore
.editorconfig
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.mailmap
.npmignore
.yarnrc
app_define.json
BUILD.gn Add lisence of typescript in sdk 2024-09-09 15:43:05 +08:00
bundle.json
CODE_OF_CONDUCT.md
compile_typescript.py resolve the differences from the blue and yellow zones 2024-07-22 19:18:18 +08:00
CONTRIBUTING.md
CopyrightNotice.txt
Dockerfile
Gulpfile.mjs
LICENSE
OAT.xml
package-lock.json
package.json
README.md
README.OpenSource Add lisence of typescript in sdk 2024-09-09 15:43:05 +08:00
SECURITY.md
ThirdPartyNoticeText.txt
VersionSet.xml

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.