Skip to content

Commit

Permalink
Merge pull request #12 from wtto00/dev
Browse files Browse the repository at this point in the history
namespace changed to module
  • Loading branch information
wtto00 authored Mar 24, 2023
2 parents 5e6b02f + a52c119 commit 448bcd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 微信JS-SDK说明文档
* [https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html](https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html)
*/
declare namespace WX {
declare module WX {
/**
* config注入的jsApi
* 即将废弃: onMenuShareTimeline onMenuShareAppMessage onMenuShareQQ onMenuShareQZone
Expand Down Expand Up @@ -1404,8 +1404,8 @@ declare module '@wtto00/jweixin-esm' {
}

interface Window {
wx: WX
jWeixin: WX
wx: typeof WX
jWeixin: typeof WX
/**
* 微信环境中才有该字段,外部浏览器无此字段
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wtto00/jweixin-esm",
"version": "1.6.0",
"version": "1.6.0-1",
"description": "微信JSSDK ESM模块 附带TS类型以及详细注释",
"type": "module",
"exports": "./lib/jweixin-1.6.0.esm.js",
Expand Down

0 comments on commit 448bcd8

Please sign in to comment.