mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
fix doc
This commit is contained in:
Vendored
+2
-6
@@ -3421,16 +3421,12 @@ declare namespace wx {
|
||||
/** 向微信后台请求检查更新结果事件的回调函数 */
|
||||
callback: (result: { hasUpdate: boolean }) => void
|
||||
): void;
|
||||
/** [UpdateManager.onUpdateFailed(function callback)](UpdateManager.onUpdateFailed.md)
|
||||
*
|
||||
* 监听小程序更新失败事件。小程序有新版本,客户端主动触发下载(无需开发者触发),下载失败(可能是网络原因等)后回调 */
|
||||
/** 监听小程序更新失败事件。小程序有新版本,客户端主动触发下载(无需开发者触发),下载失败(可能是网络原因等)后回调 */
|
||||
onUpdateFailed(
|
||||
/** 小程序更新失败事件的回调函数 */
|
||||
callback: (res: { errMsg: string }) => void
|
||||
): void;
|
||||
/** [UpdateManager.onUpdateReady(function callback)](UpdateManager.onUpdateReady.md)
|
||||
*
|
||||
* 监听小程序有版本更新事件。客户端主动触发下载(无需开发者触发),下载成功后回调 */
|
||||
/** 监听小程序有版本更新事件。客户端主动触发下载(无需开发者触发),下载成功后回调 */
|
||||
onUpdateReady(
|
||||
/** 小程序有版本更新事件的回调函数 */
|
||||
callback: () => void
|
||||
|
||||
Reference in New Issue
Block a user