1 | # mini-types
|
2 |
|
3 | > [中文版本](./README.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 declarations for Alipay's mini program.
|
12 |
|
13 | ## Install
|
14 |
|
15 | ```
|
16 | npm install mini-types --save
|
17 | ```
|
18 |
|
19 | ## Usage
|
20 |
|
21 | Specify `types` option in the `tsconfig.json` file.
|
22 |
|
23 | ```json
|
24 | {
|
25 | "compilerOptions": {
|
26 | "types" : ["mini-types"]
|
27 | }
|
28 | }
|
29 | ```
|
30 |
|
31 | ## Contributing
|
32 |
|
33 | We welcome all contributions. You can submit any ideas as [pull requests](https://github.com/ant-mini-program/mini-types/pulls) or as a [GitHub issue](https://github.com/ant-mini-program/mini-types/issues).
|