SAP Fiori OData - TS types for vocabularies
npm install @sap-ux/vocabularies-typesDefines Typescript types based on the OData vocabularies.
The types are meant to be used in conjuction with the annotation-converter in order to get an object structure that provide those them.
npm install --save-dev @sap-ux/vocabularies-typesyarnyarn add @sap-ux/vocabularies-types --dev
pnpmpnpm add @sap-ux/vocabularies-types --dev
Add this to your project as a dev dependency and add it to the types section of your ts-config.json
````
...
"compilerOptions": {
"types": ["@sap-ux/vocabularies-types"]
}
...