Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 502 Bytes

README-en.md

File metadata and controls

25 lines (21 loc) · 502 Bytes

English | 中文

MasterGo Plugin Typings

This project is the ts declaration file of the MasterGo plugin API.

Install

  1. npm install

    npm i --save-dev @mastergo/plugin-typings
    # or yarn
    yarn add -D @mastergo/plugin-typings
  2. configure tsconfig.json

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