{"name":"miniprogram-api-typings","version":"3.8.1","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 eslint","tsd":"tsd","eslint":"eslint --config .eslintrc.js types/**/*.ts"},"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","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","eslint":"^8.29.0","tsd":"^0.25.0","typescript":"^4.9.4"},"tsd":{"directory":"test"},"gitHead":"c96237ec13f398d0cd1db61144e483ebdb2ece94","_id":"miniprogram-api-typings@3.8.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-AjuBYxghx3LZeTtWQ48TfDMxoACGRUA+NdPrgl+mPPNgi5g0YXn3sDELNHRw0LcjTxfqhVufwLL65AjwT+W+FQ==","shasum":"1b8b732bb9035187a935ce622c6d8ad543432eed","tarball":"http://registry-npm.ywwl.com/miniprogram-api-typings/download/miniprogram-api-typings-3.8.1.tgz","fileCount":18,"unpackedSize":1953825,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS9HaIn8fzeigKluYXy+8yv6Om5PE3refNFyyYEx00twIhAKUwdYn9qT+nHivp9Xi2iqDAawUL53hbQXcLsz65UKDD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmGssACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCiw//UbQhaKwG3RJQIIAqBFB2FDCiaE3AcmYaO3g9TuMsS4ZncdEv\r\n3jrMSaaqLCN+612IGgk2jkubPXfgudpgUaklmxHREZXgRz4/B50vAyOaMpY2\r\nFo68rbgIRfhDa8ANeJs9fjQR9xN5+LyAde/qRnKeAxfygc0LgAcnaQEBNuMm\r\nbTN/lH6lCl5Yh2sPYfzFjp3M+D58AINOrYfvqEKXlaqjFkUtXNOpljn+LVlX\r\ngAtM4VNL1Pk0+EXGZ/ydOh4vuArHx0Lzv106hOvF26bX1I1AoFpPLeHm6HRP\r\nhWXK3onMdkyy9DSmM8wOe7PMGFjHCrPHPuxR3+LgpZsBcvhoFxgy6vjX3dfy\r\nrOsCxZ4UG6J9jogvQNWIygOSiN3GMUmXqeygZGbSpqgNY9HLlQF4Kj7USZ0p\r\npXJIv22K6vju0L3kzpto3sMLvs/ao4SMFGfBviCTJEi220DuZuoAOK7TJqu/\r\ni8BlqAQDtSKH3hh7/wtmFmJN/SJzGLCjIkZ8grAwepBw8RR56yXTJ8KVf1/k\r\ne1qeh0gvbzPzXQjVqnAmBEnLmN4VLO3hgYgc3bbTF+cUVqo9GPurISxgOJOe\r\nTXthQJm0SBsgXh6hC/2+xOo+Ge8nKXC0yMa2igB4JlLTxyIhGPj1uK6wXgni\r\n0ScMFU151d/evSLpjEejBHlrPumS8p8TM+Y=\r\n=k7zI\r\n-----END PGP SIGNATURE-----\r\n","size":331436,"noattachment":false,"key":"/miniprogram-api-typings/-/miniprogram-api-typings-3.8.1.tgz"},"_npmUser":{"name":"wechat-miniprogram","email":"wx-miniprogram@qq.com"},"directories":{},"maintainers":[{"name":"wechat-miniprogram","email":"wx-miniprogram@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniprogram-api-typings_3.8.1_1670933291736_0.6116893954442932"},"_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":1670933291978,"_cnpm_publish_time":1670933291978,"dist-tags":{"beta":"2.12.0-beta.4","latest":"4.0.2"}}