wechat-miniprogram / minigame-api-typings

Type definitions for APIs of Wechat Mini Game in TypeScript
https://developers.weixin.qq.com/minigame/dev/guide/
MIT License
130 stars 26 forks source link

ReconnectOption.accessInfo类型错了 #14

Open hesongniu opened 2 years ago

hesongniu commented 2 years ago

interface ReconnectOption { / 需要重连的对局房间唯一标识 */ accessInfo: number应该是accessInfo: string /* 接口调用结束的回调函数(调用成功、失败都会执行) / complete?: ReconnectCompleteCallback / 接口调用失败的回调函数 */ fail?: ReconnectFailCallback /* 接口调用成功的回调函数 / success?: ReconnectSuccessCallback }