@maybecode/weixin-jssdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

weixin-jssdk

npm version downloads

基于微信jssdk封装的ts类型定义, 尽量保持和官方同步。

当前jssdk版本: 1.6.0

微信官方文档: https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html

安装

yarn add @maybecode/weixin-jssdk

使用

import wx from '@maybecode/weixin-jssdk'

const jsApiList = [
    'getLocation'
] as wx.ApiMethod[];

wx.config({
    ...
    jsApiList
})

Readme

Keywords

Package Sidebar

Install

npm i @maybecode/weixin-jssdk

Weekly Downloads

5

Version

1.0.5

License

MIT

Unpacked Size

83.6 kB

Total Files

6

Last publish

Collaborators

  • qq1013480204