We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d42ebc commit 31b1cd2Copy full SHA for 31b1cd2
index.d.ts
@@ -2250,8 +2250,8 @@ declare class COS {
2250
/** 获取 COS XMl API (v5) 签名 @see https://cloud.tencent.com/document/product/436/7778 */
2251
getAuth(params: COS.GetAuthParams): COS.Authorization;
2252
2253
- on(action: string, callback: () => void): void;
2254
- off(action: string, callback: () => void): void;
+ on(action: string, callback: (params?: any) => void): void;
+ off(action: string, callback: (params?: any) => void): void;
2255
emit(action: string, data?: any): void;
2256
2257
}
0 commit comments