Skip to content

Commit 7a4cdba

Browse files
committed
fix: 优化 d.ts
1 parent 8cc79e7 commit 7a4cdba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2624,7 +2624,7 @@ declare class COS {
26242624
/** 获取文件下载链接 @see https://cloud.tencent.com/document/product/436/35651 */
26252625
getObjectUrl(
26262626
params: COS.GetObjectUrlParams,
2627-
callback: (err: COS.CosError, data: COS.GetObjectUrlResult) => void
2627+
callback?: (err: COS.CosError, data: COS.GetObjectUrlResult) => void
26282628
): string;
26292629

26302630
/** 追加上传 @see https://cloud.tencent.com/document/product/436/7741 */

0 commit comments

Comments
 (0)