Skip to content

Latest commit

 

History

History
 
 

vocabularies-types

@sap-ux/vocabularies-types

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.

Installation

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

Usage

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"]
}
...

Keywords

OData Vocabularies