You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
# mini-types
|
|
|
|
> [English Version](./README.en-US.md)
|
|
|
|
[](https://www.npmjs.com/package/mini-types)
|
|
[](https://github.com/ant-mini-program/mini-types/stargazers)
|
|
[](https://github.com/ant-mini-program/mini-types/network/members)
|
|
[](https://www.npmjs.com/package/mini-types)
|
|
[](https://github.com/ant-mini-program/mini-types/issues)
|
|
|
|
支付宝小程序 TypeScript 声明文件。
|
|
|
|
## 安装
|
|
|
|
```
|
|
npm install mini-types --save
|
|
```
|
|
|
|
## 使用
|
|
|
|
在 `tsconfig.json` 文件中指定 `types` 配置。
|
|
|
|
```json
|
|
{
|
|
"compilerOptions": {
|
|
"types" : ["mini-types"]
|
|
}
|
|
}
|
|
```
|
|
|
|
## 贡献
|
|
|
|
如果你有好的意见或建议,欢迎给我们提 [issue](https://github.com/ant-mini-program/mini-types/issues)。
|
|
|