This npm package contains the types signatures (based on deprecated globals, see below) for all the SAPUI5 libraries.
These signatures can be used to:
- Enable advanced content assist in IDEs, e.g: (VSCode / IntelliJ / Webstorm) for SAPUI5.
- Integrate type checking for SAPUI5 applications using the TypeScript compiler.
sap.ui.require() calls instead and for TypeScript code we recommend using ES6 module syntax provided by the @sapui5/ts-types-esm package. So better use that one instead of this package.
This project is in an experimental Beta State. Significant changes are likely to occur, including potential breaking changes.
For information on changes in the type definitions, in particular ones which require adaptation, please refer to the Release Notes.
The central entry point for all information about using UI5 with TypeScript (incl. sample apps and templates) is at https://sap.github.io/ui5-typescript.
This package is provided under the terms of the SAP Developer License Agreement.