Skip to content

Commit ba6959c

Browse files
committed
fix: 优化 d.ts
1 parent 31e3773 commit ba6959c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,9 +1258,9 @@ declare namespace COS {
12581258
ResponseContentEncoding?: string;
12591259
/** 设置响应中的 Content-Language 头部的值 */
12601260
ResponseContentLanguage?: string;
1261-
/** 设置响应中的 Content-Type 头部的值 */
1262-
ResponseExpires?: string;
12631261
/** 设置响应中的 Expires 头部的值 */
1262+
ResponseExpires?: string;
1263+
/** 设置响应中的 Content-Type 头部的值 */
12641264
ResponseContentType?: string;
12651265
/** RFC 2616 中定义的字节范围,范围值必须使用 bytes=first-last 格式,first 和 last 都是基于0开始的偏移量。例如 bytes=0-9 表示下载对象的开头10个字节的数据 ,如果不指定,则表示下载整个对象 */
12661266
Range?: string;
@@ -2171,7 +2171,7 @@ declare class COS {
21712171
): void;
21722172
getBucketLocation(params: COS.GetBucketLocationParams): Promise<COS.GetBucketLocationResult>;
21732173

2174-
/** 获取 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
2174+
/** 设置 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
21752175
putBucketPolicy(
21762176
params: COS.PutBucketPolicyParams,
21772177
callback: (err: COS.CosError, data: COS.PutBucketPolicyResult) => void
@@ -2185,7 +2185,7 @@ declare class COS {
21852185
): void;
21862186
getBucketPolicy(params: COS.GetBucketPolicyParams): Promise<COS.GetBucketPolicyResult>;
21872187

2188-
/** 删除 Bucket 的 跨域设置 @see https://cloud.tencent.com/document/product/436/8285 */
2188+
/** 删除 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8285 */
21892189
deleteBucketPolicy(
21902190
params: COS.DeleteBucketPolicyParams,
21912191
callback: (err: COS.CosError, data: COS.DeleteBucketPolicyResult) => void

0 commit comments

Comments
 (0)