@sapui5/ts-types
TypeScript icon, indicating that this package has built-in type declarations

1.111.5 • Public • Published

SAPUI5

@sapui5/ts-types

This npm package contains the types signatures (based on deprecated globals, see below) for all the SAPUI5 libraries.

These signatures can be used to:

  1. Enable advanced content assist in IDEs, e.g: (VSCode / IntelliJ / Webstorm) for SAPUI5.
  2. Integrate type checking for SAPUI5 applications using the TypeScript compiler.

These two capabilities are available both for SAPUI5 apps written in TypeScript and in JavaScript.

NOTE: "based on globals" means that it supports the usage of the global "sap" object and the huge tree below this global object containing all modules and controls. But this usage is no longer recommended. In traditional JavaScript, UI5 application code should use the asynchronous sap.ui.define()/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.

Status

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.

License

This package is provided under the terms of the SAP Developer License Agreement.

Install

npm i @sapui5/ts-types

Homepage

ui5.sap.com

DownloadsWeekly Downloads

14,440

Version

1.111.5

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

29.2 MB

Total Files

66

Last publish

Collaborators

  • flovogt
  • matz3
  • pmuessig
  • randombyte
  • sapnaas
  • sap_extncrepos