This package has been deprecated

Author message:

Official has support TS, see readme for detail

@xhmm/wxapp
TypeScript icon, indicating that this package has built-in type declarations

2.7.1 • Public • Published

官方已支持Typescript,具体见此页面,包含了十分全面的声明文件,故该repo不再更新,使命结束

说明

这是微信小程序的声明文件:目前包括基础库API(2.3.2)云函数客户端API(2.3.2)

使用

  1. npm i@xhmm/wxapp@latest
  2. app.ts上方加入如下:<reference path='/path/to/node_modules/@xhmm/wxapp/wxapi.d.ts' />

注意事项

  1. 当使用到云函数api时,该声明文件内的实现均为promise版,不包含success,fail,complete形式的声明,除了一些特殊的函数比如downloadFileuploadFile

备注

基础库还未全面完成核对,云函数服务端api进行中,微信文档结构变化太快了,不停地在调整。

Dependents (0)

Package Sidebar

Install

npm i @xhmm/wxapp

Weekly Downloads

0

Version

2.7.1

License

MIT

Unpacked Size

70.3 kB

Total Files

5

Last publish

Collaborators

  • xhmm