Skip to content

Commit 7ff3985

Browse files
refactor(types): sync components types (#241)
* refactor(types): sync components types * Update Video.d.ts * Update video.md * Update video.md --------- Co-authored-by: ZakaryCode <ZakaryCode@users.noreply.github.com> Co-authored-by: Zakary <zakarycode@gmail.com>
1 parent ab5e6a0 commit 7ff3985

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/taro/types/api/swan/bookshelf.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare module '../../index' {
4343
1
4444
}
4545
}
46-
46+
4747
namespace deleteBookshelf {
4848
interface Option {
4949
/** 要删除的内容分类 */
@@ -115,13 +115,13 @@ declare module '../../index' {
115115
1
116116
}
117117
}
118-
118+
119119
namespace updateBookshelfReadTime {
120120
interface Option {
121121
/** 添加的内容分类 */
122122
category: keyof Category | string
123123
/** 要更新内容的 id;注释:contentId 为内容 id,内容的唯一标识,自定义,最长 22 字符(不能含有空格、中文字符) */
124-
contentIds: string[]
124+
contentIds: string[]
125125
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
126126
complete?: (res: TaroGeneral.CallbackResult) => void
127127
/** 接口调用失败的回调函数 */
@@ -278,7 +278,7 @@ declare module '../../index' {
278278
* @see https://smartprogram.baidu.com/docs/develop/api/open/swan-queryBookshelf/
279279
*/
280280
updateBookshelfReadTime(option: updateBookshelfReadTime.Option): void
281-
281+
282282
/** 跳转到宿主书架
283283
* @supported swan
284284
* @swan (需宿主支持书架入口)
@@ -304,4 +304,4 @@ declare module '../../index' {
304304
*/
305305
navigateToBookshelf(option: navigateToBookshelf.Option): void
306306
}
307-
}
307+
}

0 commit comments

Comments
 (0)