TypeScript-Definitions-for-Wechat (typed-wechat)
🐵 Features : more completed type definitions than official wechat dev tool.
Install
npm i typed-wechat
or
yarn add typed-wechat
Use
const wx = ;// or;
or
; // or;
Then, you can use 'wx'
.
API Contents
- 网络✔️
- 媒体✔️
- 文件✔️
- 数据缓存✔️
- 位置✔️
- 设备✔️
- 界面✔️
- WXML节点信息✔️
- 第三方平台✔️
- 开放接口✔️
- 调试接口✔️