Skip to content

Commit 31b1cd2

Browse files
committed
upd d.ts
1 parent 2d42ebc commit 31b1cd2

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
@@ -2250,8 +2250,8 @@ declare class COS {
22502250
/** 获取 COS XMl API (v5) 签名 @see https://cloud.tencent.com/document/product/436/7778 */
22512251
getAuth(params: COS.GetAuthParams): COS.Authorization;
22522252

2253-
on(action: string, callback: () => void): void;
2254-
off(action: string, callback: () => void): void;
2253+
on(action: string, callback: (params?: any) => void): void;
2254+
off(action: string, callback: (params?: any) => void): void;
22552255
emit(action: string, data?: any): void;
22562256

22572257
}

0 commit comments

Comments
 (0)