Skip to content

catshub/TypeScript-Definitions-For-Wechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript-Definitions-for-Wechat (typed-wechat)

npm package

🐵 Features : more completed type definitions than official wechat dev tool.

Install

npm i typed-wechat

or

yarn add typed-wechat

Use

const wx = require('typed-wechat'); 
// or
require('typed-wechat');

or

import wx from 'typed-wechat'; 
// or
import 'typed-wechat';

Then, you can use 'wx'.

API Contents

  1. 网络✔️
  2. 媒体✔️
  3. 文件✔️
  4. 数据缓存✔️
  5. 位置✔️
  6. 设备✔️
  7. 界面✔️
  8. WXML节点信息✔️
  9. 第三方平台✔️
  10. 开放接口✔️
  11. 调试接口✔️