Skip to content

Commit ca4ed8c

Browse files
authored
fix: 修改GetObjectParams DataType字段名错误 (#143)
感谢反馈
1 parent c2e7a91 commit ca4ed8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ declare namespace COS {
11371137
// getObject
11381138
/** getObject 接口参数 */
11391139
interface GetObjectParams extends ObjectParams {
1140-
BodyType?: 'text' | 'blob' | 'arraybuffer',
1140+
DataType?: 'text' | 'blob' | 'arraybuffer',
11411141
/** 请求里的 Url Query 参数,传入该值中的 key/value 将会被 URLEncode */
11421142
Query?: Query,
11431143
/** 请求里的 Url Query 参数。传入该值将直接拼接在 Url 上,不会对其进行 URLEncode */

0 commit comments

Comments
 (0)