1 | # mini-types
|
2 |
|
3 | > [English Version](./README.en-US.md)
|
4 |
|
5 | [![npm package](https://img.shields.io/npm/v/mini-types.svg?style=flat-square)](https://www.npmjs.com/package/mini-types)
|
6 | [![GitHub stars](https://img.shields.io/github/stars/ant-mini-program/mini-types.svg)](https://github.com/ant-mini-program/mini-types/stargazers)
|
7 | [![GitHub forks](https://img.shields.io/github/forks/ant-mini-program/mini-types.svg)](https://github.com/ant-mini-program/mini-types/network/members)
|
8 | [![NPM downloads](https://img.shields.io/npm/dm/mini-types.svg?style=flat-square)](https://www.npmjs.com/package/mini-types)
|
9 | [![GitHub issues](https://img.shields.io/github/issues/ant-mini-program/mini-types.svg)](https://github.com/ant-mini-program/mini-types/issues)
|
10 |
|
11 | 支付宝小程序 TypeScript 声明文件。
|
12 |
|
13 | ## 安装
|
14 |
|
15 | ```
|
16 | npm install mini-types --save
|
17 | ```
|
18 |
|
19 | ## 使用
|
20 |
|
21 | 在 `tsconfig.json` 文件中指定 `types` 配置。
|
22 |
|
23 | ```json
|
24 | {
|
25 | "compilerOptions": {
|
26 | "types" : ["mini-types"]
|
27 | }
|
28 | }
|
29 | ```
|
30 |
|
31 | ## 贡献
|
32 |
|
33 | 如果你有好的意见或建议,欢迎给我们提 [issue](https://github.com/ant-mini-program/mini-types/issues)。
|