{"ref":"content:typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem","page":"/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","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem","title":"TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3)","url":"https://community.sap.com/t5/technology-blog-posts-by-members/typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem-part-2-of/ba-p/13550830","content_type":"blog","explains":["capability:typing","capability:ui5-typescript"],"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.","short":"Where TypeScript is supported across a BTP side-by-side extension","author":"MikeDoyle","published":"2023-07-05","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-members/typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem-part-2-of/ba-p/13550830","title":"TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3) — SAP Community","checked":"2026-09-08"},{"url":"https://community.sap.com/t5/technology-blog-posts-by-members/typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem-part-2-of/ba-p/13550830","title":"TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3), read through the SAP Community API","checked":"2026-09-15","quote":"CAP does provide standard types (e.g. for Request ) and generating types for the OData services you create is a new feature (see @cap-js/cds-typer )."},{"url":"https://community.sap.com/t5/technology-blog-posts-by-members/typescript-sheriff-how-can-i-use-typescript-in-the-sap-ecosystem-part-2-of/ba-p/13550830","title":"TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3), read through the SAP Community API","checked":"2026-09-15","quote":"UI5 provides types for controls and modules and the tooling supports TypeScript too."}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"history":[{"date":"2026-09-15","field":"explains","from":"capability:typescript-patterns","to":"capability:typing, capability:ui5-typescript","reason":"The 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."},{"date":"2026-09-15","field":"summary","from":"The middle part of three, and the only one that is about SAP rather than about TypeScript in general: where in the SAP stack TypeScript is supported and how well, CAP included. The other two parts are a case for types and a set of editor tips, neither of which is specific to anything here.","to":"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.","reason":"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."}],"published_on":"source:sap-community"},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 40 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2023-07-05"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":3064,"unit":"views"},{"value":1,"unit":"comments"},{"value":6,"unit":"likes"}]},"signals":{"views":3064,"likes":6,"comments":1,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}