🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

@mendix/pluggable-widgets-typing-generator

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mendix/pluggable-widgets-typing-generator

Mendix Pluggable Widgets typings generator

8.9.2
latest
Version published
Maintainers
65
Created

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());
}

FAQs

Package last updated on 09 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts