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 acabf61 commit a125071Copy full SHA for a125071
index.d.ts
@@ -2328,8 +2328,8 @@ declare class COS {
2328
/** 获取 COS XMl API (v5) 签名 @see https://cloud.tencent.com/document/product/436/7778 */
2329
getAuth(params: COS.GetAuthParams): COS.Authorization;
2330
2331
- on(action: string, callback: () => void): void;
2332
- off(action: string, callback: () => void): void;
+ on(action: string, callback: (params?: any) => void): void;
+ off(action: string, callback: (params?: any) => void): void;
2333
emit(action: string, data?: any): void;
2334
2335
}
0 commit comments