Skip to content

Commit bf87152

Browse files
authored
fix(type)对像存储请求里的Query参数类型 (#222)
1 parent ed53b6d commit bf87152

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
@@ -1276,7 +1276,7 @@ declare namespace COS {
12761276
/** 上传的文件大小,单位 Byte 字节,如果不传且 Body 是流,会走服务端流式上传 */
12771277
ContentLength?: number;
12781278
/** 请求里的 Url Query 参数 */
1279-
Query?: string;
1279+
Query?: Query;
12801280
/** RFC 2616 中定义的缓存指令,将作为对象元数据保存 */
12811281
CacheControl?: string;
12821282
/** RFC 2616 中定义的文件名称,将作为对象元数据保存 */
@@ -1778,7 +1778,7 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
17781778
/** 分块上传时,并发数,默认值1 */
17791779
AsyncLimit?: number;
17801780
/** 请求里的 Url Query 参数 */
1781-
Query?: string;
1781+
Query?: Query;
17821782
/** RFC 2616 中定义的缓存指令,将作为对象元数据保存 */
17831783
CacheControl?: string;
17841784
/** RFC 2616 中定义的文件名称,将作为对象元数据保存 */

0 commit comments

Comments
 (0)