Skip to content

mastergo-design/plugin-typings

Repository files navigation

Publish to NPM

中文 | English

MasterGo插件API声明文件

本项目为MasterGo插件API的ts声明文件。

安装

  1. 通过npm安装

    npm i --save-dev @mastergo/plugin-typings
    # 或者使用yarn
    yarn add -D @mastergo/plugin-typings
  2. 配置 tsconfig.json

    {
        "compilerOptions": {
            "typeRoots": [
                "./node_modules/@types",
                "./node_modules/@mastergo"
            ]
        }
    }