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.2 KiB
33 lines
1.2 KiB
# mini-types
|
|
|
|
> [中文版本](./README.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 declarations for Alipay's mini program.
|
|
|
|
## Install
|
|
|
|
```
|
|
npm install mini-types --save
|
|
```
|
|
|
|
## Usage
|
|
|
|
Specify `types` option in the `tsconfig.json` file.
|
|
|
|
```json
|
|
{
|
|
"compilerOptions": {
|
|
"types" : ["mini-types"]
|
|
}
|
|
}
|
|
```
|
|
|
|
## Contributing
|
|
|
|
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).
|
|
|