@pixso/plugin-typings
Version:
Typings for the Pixso Plugin API
24 lines (20 loc) • 459 B
Markdown
# Pixso 插件 API 类型声明文件
本项目为 Pixso 插件 API 的 TS 类型声明文件。
## 用法
1. 安装
```sh
npm i --save-dev @pixso/plugin-typings
# 或者使用yarn
yarn add -D @pixso/plugin-typings
```
2. 配置 `tsconfig.json`
```js
{
"compilerOptions": {
"typeRoots": [
"./node_modules/@types",
"./node_modules/@pixso"
]
}
}
```