Defines 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
npm install --save-dev @sap-ux/vocabularies-types
yarn
yarn add @sap-ux/vocabularies-types --dev
pnpm
pnpm 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"]
}
...
OData Vocabularies