TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3)
The middle part of three, and the one about SAP: where TypeScript is supported across a side-by-side extension on BTP, as of July 2023. It says the SAP Cloud SDK already generates OData clients as .ts files and UI5 ships types for its controls and modules, the ground of TypeScript supportTypeScript supportWriting 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.SAP and community, narrow by design in UI5, while CAP offers standard types and the new @cap-js/cds-typer@cap-js/cds-typerGenerates TypeScript types from a CDS model.sap official, cap generates types for a service, which is typingTypingMaking the model visible to the compiler — generated types for entities and events so a rename breaks the build rather than production.SAP and community, unassessed, with the caveat that running cds-ts commands could overwrite what cds-typer generated.
Where it sits
Who is behind it
Properties
About this work
What was found on the page
Details
Graph
Source
History
- explains → capability:typing, capability:ui5-typescriptThe post does not say how a CAP service written in TypeScript is arranged, which is typescript-patterns. It says which frameworks ship types: cds-typer generating types for a CAP service, and UI5's types for controls and modules.
- summary → The middle part of three, and the one about SAP: where TypeScript is supported across a side-by-side extension on BTP, as of July 2023. It says the SAP Cloud SDK already generates OData clients as .ts files and UI5 ships types for its controls and modules, the ground of [TypeScript support](capability:ui5-typescript) in UI5, while CAP offers standard types and the new [@cap-js/cds-typer](artifact:cap-js-cds-typer) generates types for a service, which is [typing](capability:typing), with the caveat that running cds-ts commands could overwrite what cds-typer generated.Rewritten to say what the post states about each framework, so the new edges hold in the summary, and to drop the sentence on parts one and three that the series section now shows with their decline notes.
- Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
- Ref
content:typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem- JSON
- /content/typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem.json
- MCP
- Connecting an agent