Skip to content

Commit a125071

Browse files
committed
upd d.ts
1 parent acabf61 commit a125071

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

2331-
on(action: string, callback: () => void): void;
2332-
off(action: string, callback: () => void): void;
2331+
on(action: string, callback: (params?: any) => void): void;
2332+
off(action: string, callback: (params?: any) => void): void;
23332333
emit(action: string, data?: any): void;
23342334

23352335
}

0 commit comments

Comments
 (0)