openui5-create-defs
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i openui5-create-defs

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

227 kB

Total Files

101

Last publish

Collaborators

  • tapsiturbi