{"ref":"content:surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to","page":"/content/surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to","json":"/content/surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to","title":"Surviving and Thriving with the SAP Cloud Application Programming Model: Types & Tools","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/surviving-and-thriving-with-the-sap-cloud-application-programming-model/ba-p/13554499","content_type":"blog","published_on":"source:sap-community","explains":["capability:typing","capability:linting"],"summary":"The first post in [Max Streifeneder](actor:maxstreifeneder)'s #CAPTricks series for CAP Node.js sets up TypeScript in a CAP project — a tsconfig.json, `cds-ts` for the dev loop, `tsc` to compile for deployment, and [cds2types](artifact:mrbandler-cds2types) to generate TypeScript definitions from a CDS model's entities and services. It then wires up ESLint and Prettier to lint and format the project's TypeScript files, with a shared .eslintrc and .prettierrc, extensions for VS Code and [SAP Business Application Studio](artifact:btp-business-application-studio), and a husky pre-commit hook running lint-staged before every commit.","authors":["actor:maxstreifeneder"],"published":"2023-01-16","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-11-08"},"drafted_with_ai":true},"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 46 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2023-01-16"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[{"ref":"actor:maxstreifeneder","name":"Max Streifeneder","json":"/actors/maxstreifeneder.json"}]}}