Skip to content

Commit 735ab44

Browse files
committed
fix: 优化d.ts
1 parent 0222e90 commit 735ab44

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
@@ -163,8 +163,8 @@ declare namespace COS {
163163
Domain?: string;
164164
/** getService方法可以使用的自定义域名 */
165165
ServiceDomain?: string;
166-
/** 强制使用后缀式模式发请求。后缀式模式中 Bucket 会放在域名后的 pathname 里,并且 Bucket 会加入签名 pathname 计算,默认 false */
167-
Protocol?: string;
166+
/** http协议,枚举值'http:','https:','http','https:' */
167+
Protocol?: 'http' | 'http:' | 'https' | 'https:';
168168
/** 设置代理,格式如 http://127.0.0.1:8888 */
169169
Proxy?: string;
170170
/** 透传给request */

0 commit comments

Comments
 (0)