npm.io
0.16.0 • Published 3 months ago

@sap-ux/vocabularies-types

Licence
Apache-2.0
Version
0.16.0
Deps
0
Size
730 kB
Vulns
0
Weekly
0

@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