From a8961657ff03a51b7ea252307f7786e5436034a9 Mon Sep 17 00:00:00 2001 From: xiaoJay Date: Wed, 10 Apr 2019 10:07:20 +0800 Subject: [PATCH] update typings @types/wx-js-sdk-dt docs url: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115 search `wx.updateTimelineShareData` in page and will find the difference of interface `ShareToTimelineConfig` defined in [@types/wx-js-sdk-dt] --- types/wx-js-sdk-dt/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wx-js-sdk-dt/index.d.ts b/types/wx-js-sdk-dt/index.d.ts index 81c601ad74..c6297eaacb 100644 --- a/types/wx-js-sdk-dt/index.d.ts +++ b/types/wx-js-sdk-dt/index.d.ts @@ -181,7 +181,7 @@ declare namespace wx { /** * 分享图标 */ - imageUrl?: string; + imgUrl?: string; success?: () => void; }