pluggable-widgets-typing-generator
TypeScript icon, indicating that this package has built-in type declarations

3.1.1 • Public • Published

Pluggable Widgets Typing Generator

npm version Mendix 8 Build Status npm GitHub release GitHub issues

About

Typescript typing generator for Pluggable Widgets

How to install

Install from npm using npm install @mendix/pluggable-widgets-typing-generator

How to use

Make sure you are using gulp as your taskrunner.

  • Include the imported library in your gulpfile.js
const typingGenerator = require("@mendix/pluggable-widgets-typing-generator").typingGenerator;

or for gulp using Babel and ES2015 (gulpfile.babel.js) or Typescript (gulpfile.ts)

import typingGenerator from "@mendix/pluggable-widgets-typing-generator";
  • Create a Gulp Task to read the xml file and generate your typings
function generateTypings() {
    return gulp
        .src("./src/package.xml")
        .pipe(typingGenerator());
}

Readme

Keywords

Package Sidebar

Install

npm i pluggable-widgets-typing-generator

Weekly Downloads

2

Version

3.1.1

License

Apache-2.0

Unpacked Size

35 kB

Total Files

9

Last publish

Collaborators

  • engalar