{"name":"miniprogram-api-typings","version":"2.10.3","description":"Type definitions for APIs of Wechat Mini Program in TypeScript","main":"./index.d.ts","types":"./index.d.ts","scripts":{"test":"npm run tsd && npm run tslint","tsd":"tsd","tslint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/wechat-miniprogram/api-typings.git"},"author":{"name":"Wechat Miniprogram","email":"wx-miniprogram@qq.com"},"license":"MIT","bugs":{"url":"https://github.com/wechat-miniprogram/api-typings/issues"},"homepage":"https://github.com/wechat-miniprogram/api-typings#readme","dependencies":{},"devDependencies":{"tsd":"^0.11.0","tslint":"^5.20.0","typescript":"^3.5.3"},"tsd":{"directory":"test"},"gitHead":"94a01f947ed6e9567672ff955121b640af75d603","_id":"miniprogram-api-typings@2.10.3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-1YQlAnqTggbQrNGaAl5ydlt3p+IiNawO+uNumcJCi16iLh0UQDAKp1F3h5+Wsk34YZbMHNwVMjbW5vJXGz8kdQ==","shasum":"68597092d88176c95674ff20c09816f63b329089","tarball":"http://registry-npm.ywwl.com/miniprogram-api-typings/download/miniprogram-api-typings-2.10.3.tgz","fileCount":16,"unpackedSize":818014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefF7BCRA9TVsSAnZWagAAj9kP/iDlEPJuE5gcoI8LnbgJ\n78mJfFJqPIrNgkByaKNx9MxYe9uIMzWVBBM2/VR3Gr5dntT257nuH+ZFW9EA\n5n0rCCU1g/urQztr333b1X04r74riIzRZxNHIjYNPtaLcybJBdSR42BRAeIc\nrRiskHXAM3wEDFQ1h269uYBWZnt5lj0FhCYXe6ND6GWjB7zA6W1rlNK/+2m1\naU5NWWESE5r6cgUTADyKO0W2OSfaJtn2wWi9sMN9SSbY9LY5vnu4Rqq/hnmT\n5EhB7gNzw2P2U94hAPM+XjU/dT4bixiUcg/W4ob3XQvoRgJXIpIdValU9OAe\ntbIKlCPkR05RNImvBLuz/FZHQHup32jDvDyk05NDF1IZMmq2AZnj8XGXooOB\no5CqXWjJRN77uCBtOT3B6Bgk/Pq2yaAxgUDIvMqQOjm5bYunSNYLQt4wwT2r\n8aiwGbLXW5m9Lk9hTIYsVG6Pp/6MQzS7WRxVLXQ3MGj/bgpi7UxdwGFDLG5l\nX1t/r8iDzITLYqwrmKaUzNyG/CwtQzfNNrtGhYsWj0Ma3vD9BZWKMN6aNp2N\nkcx7Kfcoag1QDBshEiPsySm8tksGtZMml0gxebcIaqG4tudtI9MmmXvyRtbR\n9ISq6/3nXxPBU8Ih69kuvYAxHij1/tbRHN4UwURfHbl1J4fKs5DWb0XW78KL\nySQy\r\n=ryAg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLxKft3sW5nehbp/64ctmYK0PdfuEMYbG5f6cRoL3G3QIhAO+/N78a8GDBV5mq+JTxwU2Pqx3f5NehiiJgq/H/VfnX"}],"size":135455,"noattachment":false,"key":"/miniprogram-api-typings/-/miniprogram-api-typings-2.10.3.tgz"},"maintainers":[{"name":"wechat-miniprogram","email":"wx-miniprogram@qq.com"}],"_npmUser":{"name":"wechat-miniprogram","email":"wx-miniprogram@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniprogram-api-typings_2.10.3_1585209024631_0.08199461475439085"},"_hasShrinkwrap":false,"readme":"# 微信小程序定义文件\n\n> [English version](./README-en.md)\n\n[![已在 DefinitelyTyped 发布](https://img.shields.io/npm/v/@types/wechat-miniprogram?label=%40types)](https://www.npmjs.com/package/@types/wechat-miniprogram)\n[![已在 NPM 发布](https://img.shields.io/npm/v/miniprogram-api-typings.svg?style=flat)](https://www.npmjs.com/package/miniprogram-api-typings)\n[![MIT 协议](https://img.shields.io/github/license/wechat-miniprogram/api-typings.svg)](https://github.com/wechat-miniprogram/api-typings)\n[![GitHub Actions 测试状况](https://github.com/wechat-miniprogram/api-typings/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/wechat-miniprogram/api-typings/actions/workflows/test.yml)\n\n微信小程序 API 的 TypeScript 类型定义文件\n\n## 安装\n\n### 通过独立 npm 包\n\n```bash\nnpm install miniprogram-api-typings\n```\n\n安装后手动导入：\n\n- `import 'miniprogram-api-typings';`\n\n或者在 ts 配置中指定：\n\n- 在 `tsconfig.json` 中指定 `types: [\"miniprogram-api-typings\"]`\n\n或者通过 [三斜杠指令](https://www.tslang.cn/docs/handbook/triple-slash-directives.html) 引用：\n\n- `/// <reference path=\"node_modules/miniprogram-api-typings/index.d.ts\" />`\n\n或：\n\n### 通过 DefinitelyTyped\n\n```bash\nnpm install @types/wechat-miniprogram\n```\n\n## 更新日志\n\n参考 [CHANGELOG.md](https://github.com/wechat-miniprogram/api-typings/blob/master/CHANGELOG.md)\n\n## 贡献\n\nAPI 的定义文件（`lib.wx.api.d.ts`）是随 [文档](https://developers.weixin.qq.com/miniprogram/dev/api/) 一起自动生成的，如果发现了 API 接口的定义错误，请提一个 issue 给我们，关于 API 的 PR 将 __不会__ 被接受。\n\n如果有针对页面（`Page`）、自定义组件（`Component`）等接口的 bug 和建议，欢迎 PR 或提一个 issue 给我们。非常感谢！\n\n### 贡献者\n\n- [Baran](https://github.com/baranwang)\n- [MinLiang Zeng](https://github.com/zenml/)\n- [Garfield Lee](https://github.com/Garfield550)\n- [Mr.Hope](https://github.com/Mister-Hope)\n- [chs97](https://github.com/chs97)\n- [Jelf](https://github.com/okxiaoliang4)\n- [xieyuhang](https://github.com/haiya6)\n- [苏杰豪](https://github.com/Megasu)\n\n### 测试\n\n本定义文件使用 [`tsd`](https://github.com/SamVerschueren/tsd) 进行测试，所有的测试样例放在 `test` 目录下。\n\n想执行测试的话，克隆本项目并完成 `npm install --save-dev` 后执行 `npm test` 即可。\n\n如果您发现了不能通过自动化测试的测试样例，可以提交 PR 或者提一个 issue。当然，能通过自动化测试的强有力的测试样例也是欢迎的。\n","publish_time":1585209024758,"_cnpm_publish_time":1585209024758,"dist-tags":{"beta":"2.12.0-beta.4","latest":"4.0.2"}}