ohos-typescript
v4.9.5-r6
Published
TypeScript is a language for application scale JavaScript development
Downloads
81
Readme
TypeScript
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.
- Submit bugs and help us verify fixes as they are checked in.
- Review the source code changes.
- Engage with other TypeScript users and developers on StackOverflow.
- Help each other in the TypeScript Community Discord.
- Join the #typescript discussion on Twitter.
- Contribute bug fixes.
- Read the archived language specification (docx, pdf, md).
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] 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
- [x] Support custom component
struct
syntax, and addStructDeclaration
andEtsComponentExpression
node type.
November 2021
- [x] Support
gotoDefinition
for custom component name and arguments. - [x] Support completion of lifecycle for
StructDeclaration
type. - [x] Support
@Builder
decorator for function and method.
January 2022
- [x] Optimize eTS language support.
- [x] Support
@BuilderParam
decorator and custom container lambda syntax. - [x] Add jsDoc and displayParts info in
getCompletionAtPosition
interface. - [x] Support eTS language ScriptKind and Extension.
- [x] Add
PropertyAccessExpressionConditionCheck
for eTS.
February 2022
- [x] Support
@Styles
decorator and related syntax. - [x] Add check for
struct
name contain reserved tag name. - [x] Support
stateStyles
property. - [x] Performance optimization for eTS completion.
- [x] Support
@Extend
and@Styles
decorators for function.