TypeScript support
Writing UI5 apps and libraries in TypeScript — the type definitions, the module syntax the loader expects, and the build step that gets from one to the other.
Showing artifacts, examples and content with confirmed Freestyle applicability. View All UI5
Overview
@openui5/sap.ui.core
Publishes the official type definitions for the framework.
A Freestyle coverage assessment has not been written. View all flavors
No community artifact is confirmed here for Freestyle.
A Freestyle coverage assessment has not been written. View all flavors
Artifacts
Content
Group by
Piece, what it offers
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3The SAPUI5 frontend of the sample, and mostly an argument for writing UI5 in TypeScript: ES imports in place of sap.ui.define, a class with real private members in place of the underscore convention, and the service types generated from the CDS model copied into the UI package, so one IChats interface types the OData object the controller reads. The second half is structure — a formatter class and a singleton LayoutManager called from the XML view through core:require, a confirmation helper taking a callback, a dialog class resolving a promise, a generic createEntity<T> on a service class — all of it to keep every controller under 100 lines. What it says about arranging a UI5 app holds whatever model sits behind the chat; the tooling around it is of its date, and the post calls UI5's TypeScript support experimental.published 2023-02-27
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3
cds2types. Affects Runnable code.
Seen working
ArtifactSignalsLast activity
Samples
ui5-monorepo-showcaseui5-monorepo-showcaseA pnpm workspace in which a UI5 app, a control library and a launchpad plugin, all TypeScript, are developed together, linked through the workspace protocol without publishing and started with one command.independent, ui5
Neither the package manifest nor the repository tree declares a licence.
ui5-monorepo-showcase
Last pushLast commit
Details
Coverage
statecore only, UI5, Freestyle, derived
domainDeveloper Experience
For your agent
- Ref
capability:ui5-typescript- JSON
- /capabilities/ui5-typescript.json
- MCP
- Connecting an agent