Skip to content

Commit b54590b

Browse files
committed
fix: 优化d.ts
1 parent 634bfc7 commit b54590b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,8 +2326,8 @@ declare class COS {
23262326
appendObject(params: COS.AppendObjectParams): Promise<COS.GeneralResult>;
23272327

23282328
/** 分块下载 @see https://cloud.tencent.com/document/product/436/64981#.E5.88.86.E5.9D.97.E4.B8.8B.E8.BD.BD.E5.AF.B9.E8.B1.A1 */
2329-
downloadFile(params: COS.DownloadFileParams, callback: (err: COS.CosError, data: COS.GeneralResult) => void): void;
2330-
downloadFile(params: COS.DownloadFileParams): Promise<COS.GeneralResult>;
2329+
downloadFile(params: COS.DownloadFileParams, callback: (err: COS.CosError, data: COS.GetObjectResult) => void): void;
2330+
downloadFile(params: COS.DownloadFileParams): Promise<COS.GetObjectResult>;
23312331

23322332
/** 获取 COS JSON API (v4) 签名 @see https://cloud.tencent.com/document/product/436/6054 */
23332333
getV4Auth(params: COS.GetV4AuthParams): COS.Authorization;

0 commit comments

Comments
 (0)