flashus / ui5-typescript

Tooling to enable TypeScript support in SAP UI5 projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:construction: Work in Progress! :construction:

CircleCI styled with prettier dependentbot REUSE status

UI5-TypeScript

UI5-TypeScript is an npm mono-repo that contains tooling to support TypeScript in SAP UI5 Projects. These tooling can enable:

  • Better IDE integration for SAP UI5 projects (e.g content assist).
  • Using TypeScript compiler to perform type checks on SAP UI5 applications.
  • More easily implementing UI5 applications in TypeScript thus enjoying the general benefits of TypeScript.

Learn more about the general benefits of TypeScript here:

It currently contains a single public package:

  • @ui5/dts-generator A low level compiler which transforms SAP UI5 api.json format to TypeScript definition(dts) file format.

    npm-ui5-dts-generator

How to obtain the UI5 TypeScript signatures?

The UI5 type signatures generated by the @ui5/dts-generator are created and published as part of the UI5 build process.

With npm:

  • npm install @sapui5/ts-types --save-dev

With Yarn

  • yarn add @sapui5/ts-types --dev

See the demos directory for consumption examples of said signatures.

Status

This project is in an experimental Beta State. Significant changes are likely to occur, including potential breaking changes.

Support

Please open issues on github.

Contributing

See CONTRIBUTING.md.

About

Tooling to enable TypeScript support in SAP UI5 projects

License:Other


Languages

Language:JavaScript 100.0%