@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

    99

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    14.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar