@xhmm/wxapp

微信小程序的typescript声明文件

Official has support TS, see readme for detail
Last updated 2 years ago by xhmm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @xhmm/wxapp 
SYNC missed versions from official npm registry.

官方已支持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进行中,微信文档结构变化太快了,不停地在调整。

Current Tags

  • 2.7.1                                ...           latest (2 years ago)

30 Versions

  • 2.7.1 [deprecated]           ...           2 years ago
  • 2.7.0 [deprecated]           ...           2 years ago
  • 2.6.2 [deprecated]           ...           2 years ago
  • 2.6.1 [deprecated]           ...           2 years ago
  • 2.6.0 [deprecated]           ...           2 years ago
  • 2.5.4 [deprecated]           ...           2 years ago
  • 2.5.3 [deprecated]           ...           2 years ago
  • 2.5.2 [deprecated]           ...           2 years ago
  • 2.5.1 [deprecated]           ...           2 years ago
  • 2.5.0 [deprecated]           ...           2 years ago
  • 2.4.3 [deprecated]           ...           2 years ago
  • 2.4.2 [deprecated]           ...           2 years ago
  • 2.4.1 [deprecated]           ...           2 years ago
  • 2.4.0 [deprecated]           ...           2 years ago
  • 2.3.0 [deprecated]           ...           2 years ago
  • 2.2.1 [deprecated]           ...           2 years ago
  • 2.2.0 [deprecated]           ...           2 years ago
  • 2.1.0 [deprecated]           ...           2 years ago
  • 2.0.1 [deprecated]           ...           2 years ago
  • 2.0.0 [deprecated]           ...           2 years ago
  • 1.1.2 [deprecated]           ...           2 years ago
  • 1.1.1 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
  • 0.0.5 [deprecated]           ...           2 years ago
  • 0.0.4 [deprecated]           ...           2 years ago
  • 0.0.3 [deprecated]           ...           2 years ago
  • 0.0.2 [deprecated]           ...           2 years ago
  • 0.0.1 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |