npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

@alifd/dts-generator

1.0.3 • Public • Published

@alifd/dts-generator

一个依据描述 react 组件 api 信息文件生成 *.d.ts 文件的工具。

npm package

Install

npm install @alifd/dts-generator

Usage

const dtsGen = require('@alifd/dts-generator');
dtsGen(apiSchema).then(result => {
  console.log(result.message);
});

or

const dtsGen = require('@alifd/dts-generator');
const result = dtsGen(result, true);

install

npm i @alifd/dts-generator

Downloadsweekly downloads

55

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability