@mastergo/plugin-typings 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +23 -0
  2. package/dist/index.d.ts +1807 -0
  3. package/package.json +56 -0
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # MasterGo插件API声明文件
2
+ 本项目为MasterGo插件API的ts声明文件。
3
+
4
+ ## 安装
5
+
6
+ 1. 通过npm安装
7
+ ```sh
8
+ npm i --save-dev @mastergo/plugin-typings
9
+ # 或者使用yarn
10
+ yarn add -D @mastergo/plugin-typings
11
+ ```
12
+
13
+ 2. 配置 _tsconfig.json_
14
+ ```js
15
+ {
16
+ "compilerOptions": {
17
+ "typeRoots": [
18
+ "./node_modules/@types",
19
+ "./node_modules/@mastergo"
20
+ ]
21
+ }
22
+ }
23
+ ```