1.0.3 • Published 3 years ago

openui5-create-defs v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

OpenUI5 Typescript definition parser

Tool to generate typescript definitions for OpenUI5 from the SAP documentation:

Changes from original repo

Fixed some bugs and added interface to the mSettings parameters of controls/classes. Also created a script to be executed via command line.

Usage

Install with NPM

npm install --save-dev openui5-create-defs

run via npx

# syntax: npx ui5-create-defs <output path>
npx ui5-create-defs src/generated

update tsconfig.json file

Add the output path in compilerOptions/paths

{
    "compilerOptions": {
        //...
        "paths": {
            //...
            "*": ["./src/generated/*"]
        }
    }
}

Usage in Visual Studio Code

Sample usage in Visual Studio Code