🚧 Work in Progress! 🚧
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:
- https://stackoverflow.com/a/35048303
- https://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript
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.
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.
This project is in an experimental Beta State. Significant changes are likely to occur, including potential breaking changes.
Please open issues on github.
See CONTRIBUTING.md.